mirror of
https://github.com/nabbar/golib.git
synced 2025-09-26 20:01:15 +08:00
5a69d2bda5498408da296a087410c71e0648b453
…
…
…
golib : custom lib for go
using in source code
first get the source dependancies
go get github.com/nabbar/golib/...
second, import the needed lib in your code
import "github.com/nabbar/golib/version"
Details of packages :
- package archive
- package artifact
- package atomic
- package aws
- package certificates
- pacakge cobra
- package config
- package console
- package context
- package database
- pacakge duration
- package encoding
- package errors
- package file
- package ftpclient
- package httpcli
- package httpserver
- package ioutil
- package ldap
- package logger
- package mail
- package mailer
- package mailPooler
- package monitor
- 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%