refactor to go-restful

This commit is contained in:
Mikaël Cluseau
2019-02-04 13:56:43 +11:00
parent 4d07db7b2c
commit e93b84b60c
390 changed files with 72017 additions and 233 deletions
cmd/dkl-local-server
go.modgo.sum
pkg/apiutils
vendor
github.com
PuerkitoBio
emicklei
go-openapi
gobuffalo
joho
json-iterator
mailru
mcluseau
modern-go
oklog
pkg
rogpeppe
golang.org
modules.txt

@ -0,0 +1,13 @@
// This file is included to the build if any of the buildtags below
// are defined. Refer to README notes for more details.
//+build easyjson_nounsafe appengine
package jlexer
// bytesToStr creates a string normally from []byte
//
// Note that this method is roughly 1.5x slower than using the 'unsafe' method.
func bytesToStr(data []byte) string {
return string(data)
}