taptalk-diary

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

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

Go to latest
Published: Aug 9, 2021 License: Unlicense Imports: 10 Imported by: 0

README

taptalk-diary

Tap Talk Diary Code Testing

core tech stacks

  • Golang 1.16
  • Go fiber Version 2.16
  • Gorm
  • Swagger for API Documentation

How to Use This API

first time setup

before that, please copy from .env.example to .env and edit to your own env config settings

then

$ go mod tidy

if there is any changed with swagger

$ swag init

run the api

$ go run main.go OR $ go build

to open the swagger

localhost:yourport/swagger/

if you want to unit test

there is main_test.go in root project, to run it: $ go test

FYI

for username can consists email or actual username there are email validation and birthday validation format (described at swagger) for doc details are described at swagger

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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