support

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2022 License: MIT Imports: 10 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Buffer added in v0.4.0

type Buffer struct {
	*bytes.Buffer
}

func NewBuffer added in v0.4.0

func NewBuffer() *Buffer

func (*Buffer) Append added in v0.4.0

func (b *Buffer) Append(i interface{}) *Buffer

type Helpers added in v0.4.0

type Helpers struct{}

func (Helpers) Camel2Case added in v0.4.0

func (receiver Helpers) Camel2Case(name string) string

func (Helpers) Case2Camel added in v0.4.0

func (receiver Helpers) Case2Camel(name string) string

func (Helpers) CreateFile added in v0.4.0

func (receiver Helpers) CreateFile(file string, content string)

CreateFile Create a file at the given path.

func (Helpers) ExistFile added in v0.4.0

func (receiver Helpers) ExistFile(file string) bool

func (Helpers) GetDatabaseConfig added in v0.4.0

func (receiver Helpers) GetDatabaseConfig() map[string]string

GetDatabaseConfig Get database config from ENV.

func (Helpers) GetLineNum added in v0.4.0

func (receiver Helpers) GetLineNum(file string) int

GetLineNum Get file line num.

func (Helpers) RemoveFile added in v0.4.0

func (receiver Helpers) RemoveFile(file string) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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