# go-kratos **Repository Path**: breezeHub/go-kratos ## Basic Information - **Project Name**: go-kratos - **Description**: kratos练习 - **Primary Language**: Go - **License**: Not specified - **Default Branch**: develop - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-05-15 - **Last Updated**: 2022-05-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Kratos ## linux安装go ```shell sudo add-apt-repository ppa:longsleep/golang-backports sudo apt-get update sudo apt-get install golang-go go version #查看版本 ``` ## GOPROXY代理地址 ```shell go env -w GO111MODULE=on go env -w GOPROXY=https://goproxy.cn,direct ``` 或 ```shell echo "export GO111MODULE=on" >> ~/.profile echo "export GOPROXY=https://goproxy.cn" >> ~/.profile source ~/.profile ``` ## proto ```shell apt-get install libprotobuf-dev protobuf-compiler go install google.golang.org/protobuf/cmd/protoc-gen-go ``` ## 安装 kratos 命令工具 https://www.jianshu.com/p/496b5e9df725 ## 安装 google wire 工具 https://github.com/google/wire