server

command module
v0.0.0-...-b58d5ac Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

README

Server

Requirements

  • Go 1.20
  • Docker

ENV

  • env.bash has a collection of functions needed for development
source env.bash

Get started

Database functions
db view # access psql shell in docker

db dbml # generate a new schemas file, this need pg-to-dbml installed
        # https://github.com/papandreou/pg-to-dbml

db mock # mock rows
Testing
gotest ./path/to/package # make sure to have docker container running and mock data in db
# or test all packages with
gotest

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
go build: testing
go build: testing
scripts module

Jump to

Keyboard shortcuts

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