The highest tagged major version is
v4 .
Discover Packages
github.com/Laisky/go-utils/v3
gorm
package
Version:
v3.1.0
Opens a new window with list of versions in this module.
Published: Nov 29, 2022
License: MIT
Opens a new window with license information.
Imports: 12
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package gorm some useful tools for gorm
GzText store string with gzip into blob
JSON store json into blob
Equals check whether equal to j1
IsNull check is value is null
Marshal return the encoding by json
Unmarshal parses the JSON-encoded data and stores the result
in the value pointed to by v. If v is nil or not a pointer,
Unmarshal returns an InvalidUnmarshalError.
Logger colored logger for gorm
func NewLogger(formatter func(...any ) []any , logger loggerItf) *Logger
NewLogger new gorm sql logger
Source Files
¶
Click to show internal directories.
Click to hide internal directories.