modules

package
v0.0.0-...-0b98827 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 5, 2020 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	I *initialize = nil
)

Functions

func InstanceDB

func InstanceDB(dbTable string, selector ...int) (db *database, err error)

func New

func New() *module

func NewDatabase

func NewDatabase() *database

func NewInitialize

func NewInitialize() *initialize

Types

type File

type File struct {
}

func NewFile

func NewFile() *File

func (*File) Create

func (fs *File) Create(pathname string) (err error)

func (*File) IsExists

func (fs *File) IsExists(pathname string) (ok bool, err error)

type Utils

type Utils struct {
}

func NewUtils

func NewUtils() *Utils

func (*Utils) IntRand

func (util *Utils) IntRand(min, max int) int

func (*Utils) InterfaceToStringInMap

func (util *Utils) InterfaceToStringInMap(data map[interface{}]interface{}) (toMap map[string]interface{})

func (*Utils) MapToStruct

func (util *Utils) MapToStruct(src interface{}, data interface{}) (err error)

func (*Utils) SetTimeLocation

func (util *Utils) SetTimeLocation(toTime string) (*time.Location, error)

func (*Utils) StrContains

func (util *Utils) StrContains(str string, src ...interface{}) (ok bool, err error)

type YuwInitialize

type YuwInitialize struct {
	Table bool
	Redis bool
	I18nT bool
	Email bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL