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

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