mirror of
https://github.com/nabbar/golib.git
synced 2025-10-11 02:30:16 +08:00
c86e1dc1b51c935dffb459f5f29f5bf065c2b585

- fix bug with context deadline Package Database: - fix darwin/arm64 import C for gorm/sqlite (using shared lib sqlite) Bump dependencies
golib : custom lib for go
snyk project : https://app.snyk.io/org/nabbar/project/2f55a2b8-6015-4db1-b859-c2bc3b7548a7
using in source code
first get the source dependancies
go get -u github.com/nabbar/golib/...
second, import the needed lib in your code
import "github.com/nabbar/golib/version"
Details of packages :
- package errors
- package logger
- package network
- package password
- package router
- package static
- package status
- package version
Build tags
To build static, pure go, some packages need to use tags osusergo and netgo, like this
go build -a -tags osusergo,netgo -installsuffix cgo ...
Languages
Go
100%