Skip to content

Negat1v9/Golang-api-start

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang Rest Api Starter pack

The project can be used by developers to quickly start a new rest api written in golang.


get the project
git pull https://github.com/Negat1v9/golang-api-start
quick start on port 8088
go run app.go

application layers

  1. model
  • layer with data models for the database and json responses
  1. internal/config
  • config model for service
  1. internal/web
  • web layer with server, all routers and handlers
  1. services
  • layer for working with layers for a database or external services

Simple request

curl http://localhost:8088/api/v1/hello/hello

About

The project can be used by developers to quickly start a new rest api written in golang.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages