func Global(file string) error {
	config, err := Read(file)
	if err != nil {
		return err
	}
	global = config
	return nil
}
////////////////////////////////////////////////////////////////////////////////// //
Global reads and parses configuration file
Global instance is accessible from any part of the code
package knf
import (
	"errors"
	"os"
	"strconv"
	"strings"
	"sync"
	"time"
)
type Config struct {
	sections []string
	props    []string
	data     map[string]string
	file     string
	mx *sync.RWMutex
}
type Validator struct {
	Property string             
	Func     PropertyValidator  
	Value    interface{}        
}
type PropertyValidator func(config *Config, prop string, value interface{}) error
var (
	ErrConfigIsNil = errors.New("Config struct is nil")
	ErrFileNotSet  = errors.New("Path to config file is empty (non initialized struct?)")
)
var global *Config