sudo apt install libvips
sudo apt install libvips-tools
Responsible for any kind of data fetching or data posting activity. This can be interactions with databases or external API
# Download dependencies in go.mod file
go mod download
# Upgrade dependency and all its dependencies to the latest version
go get -u <dependencies>
# Add any missing modules necessary to build the current module's packages and dependencies, and remove unused modules
go mod tidy
# Install testing tools
go install github.com/golang/mock/mockgen
go install github.com/onsi/ginkgo/v2/ginkgo
# Generate files for testing purpose
ginkgo bootstrap
ginkgo generate
# Install swagger cli
go install github.com/swaggo/swag/cmd/swag
# Install protobuf cli and related tools
sudo apt update && apt install protobuf-compiler
go install google.golang.org/protobuf
go install github.com/twitchtv/twirp/protoc-gen-twirp
# Install wire cli
go install github.com/google/wire/cmd/wire
# Generate wire_gen.go file
go run github.com/google/wire/cmd/wire