GoDoc and some typos...

This commit is contained in:
dhax 2017-10-22 21:56:36 +02:00
parent 9f37579562
commit 543b39f822
15 changed files with 37 additions and 19 deletions

View file

@ -1,3 +1,4 @@
// Package api configures an http server for administration and application resources.
package api
import (
@ -19,8 +20,8 @@ import (
"github.com/go-chi/render"
)
// NewAPI configures application resources and routes.
func NewAPI() (*chi.Mux, error) {
// New configures application resources and routes.
func New() (*chi.Mux, error) {
logger := logging.NewLogger()
db, err := database.DBConn()