An open API service indexing awesome lists of open source software.

https://github.com/fazzani/cfcli

Cloudflare cli (goloang)
https://github.com/fazzani/cfcli

cloudflare golang

Last synced: about 1 month ago
JSON representation

Cloudflare cli (goloang)

Awesome Lists containing this project

README

          

# Hello Golang

My First Golang program

## TODO

- [x] [Migrate to module](https://blog.golang.org/migrating-to-go-modules)
- Run go version and make sure you're using version 11 or later.
- Move your code outside of GOPATH or set export GO111MODULE=on.
- go mod init [module path]: This will import dependencies from Gopkg.lock.
- go mod tidy: This will remove unnecessary imports, and add indirect ones.
- rm -rf vendor/: Optional step to delete your vendor folder.
- go build: Do a test build to see if it works.
- rm -f Gopkg.lock Gopkg.toml: Delete the obsolete files used for Dep.
Go has imported my dependencies from Dep by reading the Gopkg.lock file and also created a go.mod file.
If you want to keep your vendor folder:
- Run go mod vendor to copy your dependencies into the vendor folder.
- Run go build -mod=vendor to ensure go build uses your vendor folder.
- [ ] [CLI](https://github.com/urfave/cli/blob/master/docs/v2/manual.md)
- [ ] CI/Dockerfile/helm
- [ ] config log // Rolling file and stderr
- [ ] Migrate project to Cobra && Viper

## References

- [setup](https://sourabhbajaj.com/mac-setup/Go/README.html)