Skip to content

jonoman55/go-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GO Server

About the project

This is a simple GO Server with HTTP CRUD routes.

Commands

Install packages:

go get

Start command:

go run main.go

API Routes

Method Endpoint Description
GET /posts Get All Posts
POST /posts Create Post
PUT /posts/:id Update Post
GET /posts/:id Get Post By ID
DELETE /posts/:id Delete Post

License

MIT