Golang_常用库

awesome

jobbole/awesome-go-cn

yinggaozhen/awesome-go-cn

avelino/awesome-go

1.对象拷贝 Copier

Github

1
go get github.com/jinzhu/copier

2.MAP映射到结构体 mapstructure

Github

1
go get github.com/mitchellh/mapstructure

3.读取配置 spf13/viper

Github

1
go get github.com/spf13/viper

4.串口通讯

Github

1
GOOS=windows GOARCH=386 go install github.com/tarm/serial
1
go get -v github.com/tarm/serial

高精度数字

Decimal

1
go get github.com/shopspring/decimal
updatedupdated2022-11-172022-11-17