kottu2020

command module
v0.0.0-...-01a26c0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2021 License: MIT Imports: 6 Imported by: 0

README

Kottu 2020

This is the 2020 attempted rewrite of Kottu in Go. The code structure is heavily inspired by Uncle Bob and go-kit's Shipping example.

Build and Run

go build -o bin/kottu -v .

cp .env.example .env
# you will need to update DB values in the .env file

./bin/kottu [-p to set port number]

Run Tests

go test

License

Kottu 2020 is released under the MIT License.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
domain
blog
Package blog holds the domain entities for the blog
Package blog holds the domain entities for the blog
click
Package click holds the domain entities for the post clicks
Package click holds the domain entities for the post clicks
post
Package post holds the domain entities for the posts
Package post holds the domain entities for the posts
user
Package user holds the domain entities for the users
Package user holds the domain entities for the users
Package service holds the application services
Package service holds the application services
storage
inmemory
Package inmemory holds the in-memory storage implementations
Package inmemory holds the in-memory storage implementations
sql
Package sql holds the SQL storage implementations
Package sql holds the SQL storage implementations
Package web implements the webserver
Package web implements the webserver

Jump to

Keyboard shortcuts

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