Skip to content

finiteloopme/goutils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goutils

Collection of golang utilities

Usage

  1. Simple utility to start HTTP Server
  2. Log handler
  3. Environment variable reader
  4. Generates application scafold
  5. Random number generator

Build

Create a Golang microservice

# example usage
goutils create-app \
    --type=go-grpc \
    --name=hello \
    --fqdn-name=github.com/finiteloopme/demo/hello \
    --output=hello

Configure basic build

cd hello
# Initiatlise basic Golang module
make create-module
# Generate gRPC code
make grpc-codegen
# Tidy up all the dependencies
make fmt-deps

Releases

No releases published

Packages

No packages published