Documentation ¶
Index ¶
- Variables
- func InstanceDB(dbTable string, selector ...int) (db *database, err error)
- func New() *module
- func NewDatabase() *database
- func NewInitialize() *initialize
- type File
- type Utils
- func (util *Utils) IntRand(min, max int) int
- func (util *Utils) InterfaceToStringInMap(data map[interface{}]interface{}) (toMap map[string]interface{})
- func (util *Utils) MapToStruct(src interface{}, data interface{}) (err error)
- func (util *Utils) SetTimeLocation(toTime string) (*time.Location, error)
- func (util *Utils) StrContains(str string, src ...interface{}) (ok bool, err error)
- type YuwInitialize
Constants ¶
This section is empty.
Variables ¶
View Source
var (
I *initialize = nil
)
Functions ¶
func InstanceDB ¶
func NewDatabase ¶
func NewDatabase() *database
func NewInitialize ¶
func NewInitialize() *initialize
Types ¶
type Utils ¶
type Utils struct { }
func (*Utils) InterfaceToStringInMap ¶
func (*Utils) MapToStruct ¶
func (*Utils) SetTimeLocation ¶
Click to show internal directories.
Click to hide internal directories.