Skip to content

pyihe/go-pkg

Repository files navigation

package comment
bytes byte相关
certs 证书相关
clone 拷贝相关
encoding 编解码相关
encrypts 加解密相关
errors 错误相关
files 文件相关
https http相关
list 队列相关
logs 日志相关
maps map相关
maths 数学相关
monitor 监控相关
nets 网络相关
prt 基础数据类型指针
rands 随机函数相关
snowflakes snowflake相关
sorts 排序相关
strings 字符串相关
sync 同步锁相关
times 定时器相关
go-pkgs 一些辅助函数
zips 压缩相关
  • golang编译命令
  1. GOOS="target OS" GOARCH="target arch" go build -o "output file name"

    OS GOOS GOARCH
    Mac darwin 386, amd64, arm, arm64
    DragonflyBSD dragonfly amd64
    FreeBSD freebsd 386, amd64, arm
    Debian,RedHat,CentOs,Ubuntu linux 386, amd64, arm, arm64, ppc64, ppc641e
    NetBSD netbsd 386, amd64, arm
    OpenBSD openbsd 386, amd64, arm
    Plan 9 plan9 386, amd64
    Solaris solaris amd64
    Win series windows 386, amd64
  2. gox -osarch="target os/target arch"

    target os target arch
    darwin 386
    darwin amd64
    linux 386
    linux amd64
    linux arm
    freebsd 386
    freebsd amd64
    freebsd arm
    openbsd 386
    openbsd amd64
    netbsd 386
    netbsd amd64
    netbsd arm
    plan9 386
    windows 386
    windows amd64

Releases

No releases published

Packages

No packages published

Languages