simiango

module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: MIT

README

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

Jump to

Keyboard shortcuts

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