gram

module
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: LGPL-2.1

README

GRAM

Inspired by the legendary Norse sword Gram, this Golang project wields the power of simplicity and precision. A versatile tool for crafting robust and efficient applications with mythical coding prowess.

Prerequisites

Getting started

  1. Initialize the app for the first time:
    make provision
    
  2. Generate swagger API docs:
    make specs
    
  3. Run the development server:
    make start
    

The application runs as a HTTP server at port 8083. You can log in as superadmin to the application by:

Then grab the access_token for authorization HTTP header:

GET /v1/... HTTP/1.1
Host: localhost:8081
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ...

Deployment

make deploy

Directories

Path Synopsis
cmd
api
functions
internal
db
pkg
util/maputil
Package maputil provides a collection of map utility functions.
Package maputil provides a collection of map utility functions.
util/sliceutil
Package sliceutil provides a collection of slice utility functions, including descriptive statistics functions for numerical slices.
Package sliceutil provides a collection of slice utility functions, including descriptive statistics functions for numerical slices.
util/threadsafe
Package threadsafe provides an interface for thread-safe functions that can be safely used between multiple goroutines.
Package threadsafe provides an interface for thread-safe functions that can be safely used between multiple goroutines.
util/threadsafe/tsmap
Package tsmap provides a collection of generic thread-safe map utility functions that can be safely used between multiple goroutines.
Package tsmap provides a collection of generic thread-safe map utility functions that can be safely used between multiple goroutines.
util/threadsafe/tsslice
Package tsslice provides a collection of generic thread-safe slice utility functions that can be safely used between multiple goroutines.
Package tsslice provides a collection of generic thread-safe slice utility functions that can be safely used between multiple goroutines.

Jump to

Keyboard shortcuts

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