func Min(i int, js ...int) int {
	res := i
	for _, j := range js {
		if j < res {
			res = j
		}
	}
	return res
}
======================================================================
Min returns the smaller of >1 integer arguments.
package gwutil
import (
	"errors"
	"fmt"
	"math"
	"os"
	"runtime/pprof"
	"sort"
	log "github.com/sirupsen/logrus"
)