GoDoc and some typos...
This commit is contained in:
parent
9f37579562
commit
543b39f822
15 changed files with 37 additions and 19 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue