gitlabci-golang Plugin Usage gitlabci-golang Plugin This plugin creates Golang GitLab CI workflow. Usage This plugin depends on an environment variable “GITLAB_TOKEN”, which ...
githubactions-golang Plugin Usage Use Together with the github-repo-scaffolding-golang Plugin githubactions-golang Plugin This plugin creates some Golang GitHub Actions workf...
Build Web Application with Golang Purpose Donate Community Acknowledgments License Get Started Build Web Application with Golang Purpose Because I’m interested in web...
Go实现枚举值 如何跨服务高效维护枚举值 Go实现枚举值 Go 语言并没有提供enum 的定义,我们可以使用const 来模拟枚举类型,这也是Go 语言中约定俗成的方式。 例如,在Kubernetes 项目中,有大量的以常量形式定义的”枚举值”: // PodPhase is a label for the condition of a pod ...
Go实现枚举值 如何跨服务高效维护枚举值 Go实现枚举值 Go 语言并没有提供enum 的定义,我们可以使用const 来模拟枚举类型,这也是Go 语言中约定俗成的方式。 例如,在Kubernetes 项目中,有大量的以常量形式定义的”枚举值”: // PodPhase is a label for the condition of a pod ...