micro-go

module
v0.0.0-...-3f50349 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2024 License: Apache-2.0

README

micro-go

ci

micro service framework in Go

Features

Libs

third-party tools

# k8s tool similar to helm  (optional)
# generate fill k8s yaml files from overlays
brew install kustomize
# kubeval - validate one or more Kubernetes config files(optional)
brew tap instrumenta/instrumenta
brew install kubeval
# Manage Your lk8s In Style!
brew install derailed/k9s/k9s
# buf: proto tool https://buf.build/docs/tour-1
brew tap bufbuild/buf
brew install buf

golang tools

# go better build tool
go install github.com/ahmetb/govvv@latest
# for static check/linter
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest

# fetch protoc plugins into $GOPATH
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest

# to add tags to go struct
go install github.com/srikrsna/protoc-gen-gotag@latest

# goup checks if there are any updates for imports in your module.
# the main purpose is using it as a linter in continuous integration or in development process.
# Usage: goup -v -m ./...
go install github.com/rvflash/goup@latest

Docs

After upgrade go version

go install -v golang.org/x/tools/...@latest
go install -v google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
go install -v google.golang.org/protobuf/cmd/protoc-gen-go@latest
go install -v github.com/mgechev/revive@latest
go install -v github.com/golangci/golangci-lint/cmd/golangci-lint@latest

Directories

Path Synopsis
cmd
app
internal
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL