golang
所属分类:微服务
开发工具:GO
文件大小:0KB
下载次数:0
上传日期:2023-07-07 08:59:49
上 传 者:
sh-1993
说明: Golang lib是一个用于在Go中构建微服务的编程工具包。它具有非常有用的接口或服务来开发应用程序。,
(Golang lib is a programming toolkit for building microservices in Go. It has very useful interface or service to develop application.,)
文件列表:
LICENSE (1060, 2023-10-25)
go.mod (7616, 2023-10-25)
go.sum (241909, 2023-10-25)
go/ (0, 2023-10-25)
go/archive/ (0, 2023-10-25)
go/archive/archive.go (1325, 2023-10-25)
go/archive/option/ (0, 2023-10-25)
go/archive/option/file_info.go (1625, 2023-10-25)
go/archive/zip/ (0, 2023-10-25)
go/archive/zip/zip.go (3751, 2023-10-25)
go/archive/zip/zip_test.go (1691, 2023-10-25)
go/bytes/ (0, 2023-10-25)
go/bytes/bytes.go (1224, 2023-10-25)
go/client/ (0, 2023-10-25)
go/client/client.go (1504, 2023-10-25)
go/client/client.options.go (1240, 2023-10-25)
go/client/client_options.go (1970, 2023-10-25)
go/client/client_test.go (1299, 2023-10-25)
go/container/ (0, 2023-10-25)
go/container/heap/ (0, 2023-10-25)
go/container/heap/heap.go (9732, 2023-10-25)
go/container/heap/heap_test.go (4703, 2023-10-25)
go/container/set/ (0, 2023-10-25)
go/container/set/set.go (5034, 2023-10-25)
go/container/set/set.interface.go (7313, 2023-10-25)
go/container/set/set_interface_test.go (4175, 2023-10-25)
go/container/set/set_string.go (5307, 2023-10-25)
go/container/set/set_string_test.go (4198, 2023-10-25)
go/container/set/set_test.go (2083, 2023-10-25)
go/container/workqueue/ (0, 2023-10-25)
go/container/workqueue/queue.go (5668, 2023-10-25)
go/container/workqueue/queue_test.go (3014, 2023-10-25)
go/context/ (0, 2023-10-25)
go/context/context.go (3173, 2023-10-25)
go/context/context_test.go (3391, 2023-10-25)
go/crypto/ (0, 2023-10-25)
go/crypto/aes/ (0, 2023-10-25)
... ...
# golang
Golang lib is a programming toolkit for building microservices in Go. It has very useful interface or service to develop application.
# To start using golang
To make use web server of golang, also golang has very useful libs, It speeds up your development.
```
import (
"testing"
"context"
viper_ "github.com/kaydxh/golang/pkg/viper"
webserver_ "github.com/kaydxh/golang/pkg/webserver"
)
func main() {
cfgFile := "./webserver.yaml"
config := webserver_.NewConfig(webserver_.WithViper(viper_.GetViper(cfgFile, "web")))
s, err := config.Complete().New()
if err != nil {
t.Errorf("failed to new config err: %v", err)
}
s.InstallWebHandlers()
prepared, err := s.PrepareRun()
if err != nil {
t.Errorf("failed to PrepareRun err: %v", err)
}
prepared.Run(context.Background())
}
```
# Evolution
Golang started in Oct 8, 2020.
# Contributing
If you need support, start with your branch, and create a pull request for us. We appreciate your help!
近期下载者:
相关文件:
收藏者: