Skip to content

iamgafurov/go-rest-api-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RESTful API Example with golang

This is simple example restful api server

Install and Run

$ go get github.com/iamgafurov/go-rest-api-example

$ cd $GOPATH/src/github.com/iamgafurov/go-rest-api-example
$ go build
$ ./go-rest-api-example

API Endpoint

Data Structure

 {
	"FoodInfoID"	: 	int,   		
	"OrgFoodID" 	: 	int,			
	"Size"		:   	FoodSize,		
	"CookTime" 	:	string,			
	"PackingTime"	:	string,		
	"Price"     	: 	float32		
}

FoodSize{
	FoodSizeID 		int,			
	Name 			string			
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages