周玉环 d906a41c2e first commit 2 dias atrás
..
.editorconfig d906a41c2e first commit 2 dias atrás
.gitignore d906a41c2e first commit 2 dias atrás
.golangci.yml d906a41c2e first commit 2 dias atrás
.travis.yml d906a41c2e first commit 2 dias atrás
CODE_OF_CONDUCT.md d906a41c2e first commit 2 dias atrás
LICENSE d906a41c2e first commit 2 dias atrás
README.md d906a41c2e first commit 2 dias atrás
convert.go d906a41c2e first commit 2 dias atrás
convert_types.go d906a41c2e first commit 2 dias atrás
doc.go d906a41c2e first commit 2 dias atrás
json.go d906a41c2e first commit 2 dias atrás
loading.go d906a41c2e first commit 2 dias atrás
name_lexem.go d906a41c2e first commit 2 dias atrás
net.go d906a41c2e first commit 2 dias atrás
path.go d906a41c2e first commit 2 dias atrás
post_go18.go d906a41c2e first commit 2 dias atrás
post_go19.go d906a41c2e first commit 2 dias atrás
pre_go18.go d906a41c2e first commit 2 dias atrás
pre_go19.go d906a41c2e first commit 2 dias atrás
split.go d906a41c2e first commit 2 dias atrás
util.go d906a41c2e first commit 2 dias atrás
yaml.go d906a41c2e first commit 2 dias atrás

README.md

Swag Build Status codecov Slack Status

license GoDoc Go Report Card

Contains a bunch of helper functions for go-openapi and go-swagger projects.

You may also use it standalone for your projects.

  • convert between value and pointers for builtin types
  • convert from string to builtin types (wraps strconv)
  • fast json concatenation
  • search in path
  • load from file or http
  • name mangling

This repo has only few dependencies outside of the standard library:

  • YAML utilities depend on gopkg.in/yaml.v2