Versions in this module Expand all Collapse all v0 v0.0.2 Sep 11, 2022 Changes in this version + func PrintifyDockerfile(writer io.Writer, dockerfile []byte) + func PrintifyJSON(writer io.Writer, v interface{}) error + func StdRun(args ...string) v0.0.1 Aug 28, 2022 Changes in this version + func AskForConfirmation(action string) bool + func CheckErr(err error) + func Exists(path string) bool + func GreenColor(s string) string + func Int64toString(i int64) string + func InttoString(i int) string + func IsTerminal(f *os.File) bool + func RedColor(s string) string + func ReturnMsg(ctx *gin.Context, code int, data interface{}, msg string) + func SliceDelOne(a string, b []string) []string + func SlicetoString(s []string) string + func SnowId() (int64, error) + func StringtoInt64(s string) int64 + func StringtoSlice(s string) []string + func StructToSlice(f interface{}) []string + func WriteToFile(filename string, v interface{}, marshal func(v interface{}) ([]byte, error)) error + func YellowColor(s string) string + type IDMgr struct + func NewIdMgr(node uint16) (*IDMgr, error) + func (c *IDMgr) ID() int64 + type IGenID interface + ID func() int64 + type Res struct + Code int + Data interface{} + Msg string