func DoExit(sec string, name string, val string, perm string) {
	fmt.Printf("Bad option value error | Section [%s] | Name [%s] | Value [%v] | Permissible Value [%s]\n", sec, name, val, perm)
	os.Exit(1)
}
DoExit : exit program function
package main
import (
	"fmt"
	"os"
)
func StringOne(values ...interface{}) (bool, int) {
	c := 0
	for _, value := range values {
		c++
		if value == "1" {
			return true, c
		}
	}
	return false, 0
}
func RBInt(i int, min int, max int) bool {
	switch {
	case i >= min && i <= max:
		return true
	default:
		return false
	}
}
func RBInt64(i int64, min int64, max int64) bool {
	switch {
	case i >= min && i <= max:
		return true
	default:
		return false
	}
}
func Check(bvar bool, sec string, name string, val string, perm string, ferr func(string, string, string, string)) {
	if !bvar {
		ferr(sec, name, val, perm)
	}
}