Skip to content

unship/swagger-ui-go-embed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Start

git clone --recursive https://github.com/biolee/swagger-ui-go-embed.git
cd swagger-ui-go-embed
glide install
go run ./example/main.go

Usage

import (
	"net/http"

	"github.com/biolee/swagger-ui-go-embed/ui"
)
func main(){
	http.Handle("/",ui.Handler)
	http.ListenAndServe(":8081",nil)
}