route

package
v0.0.0-...-79297db Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRoutes

func NewRoutes(repository db.Repository) *mux.Router

NewRoutes returns defined routes

Types

type DTO

type DTO struct {
	DateOfBirth string `json:"dateOfBirth,omitempty"`
	Message     string `json:"message,omitempty"`
	ErrMessage  string `json:"error,omitempty"`
}

DTO is incoming upsert request for Date of Birth & reply to user request

Jump to

Keyboard shortcuts

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