Skip to content

simiancreative/simiango

Repository files navigation

Simian Go

Coverage Status tests Godoc license

A multi purpose tool set for golang applications. Tools include:

  • Dotenv Config
  • Logger
  • Http Server
    • Private Routes
    • Streaming Response
    • Request Parameter Parsing
  • Service Handlers
  • Reversible and Non-Reversible encryption
  • JWT Token Generation and Validation
  • Struct Validation
  • Various Service Implementations meant to abstract the usage into a simple interface
    • Mysql
    • Mssql
    • Postrges
    • Sql null types with automatic valid checking 😅
    • Redis
    • AMQP
    • Kafka

Setup

Create a go application and import simian go packages as required. See the sample application for usage.

CLI

install

go install github.com/simiancreative/simiango/simian-go@latest

run

simian-go -h

How to generate your crypt-keeper key

Generate a base64 encoded 32 bit key and copy it to the clipboard

openssl rand -base64 32 | cut -c1-32 | tr -d '\n' | base64 | tr -d '\n' | pbcopy