周玉环 d906a41c2e first commit 2 днів тому
..
.editorconfig d906a41c2e first commit 2 днів тому
.gitignore d906a41c2e first commit 2 днів тому
.golangci.yml d906a41c2e first commit 2 днів тому
.travis.yml d906a41c2e first commit 2 днів тому
CODE_OF_CONDUCT.md d906a41c2e first commit 2 днів тому
LICENSE d906a41c2e first commit 2 днів тому
README.md d906a41c2e first commit 2 днів тому
convert.go d906a41c2e first commit 2 днів тому
convert_types.go d906a41c2e first commit 2 днів тому
doc.go d906a41c2e first commit 2 днів тому
json.go d906a41c2e first commit 2 днів тому
loading.go d906a41c2e first commit 2 днів тому
name_lexem.go d906a41c2e first commit 2 днів тому
net.go d906a41c2e first commit 2 днів тому
path.go d906a41c2e first commit 2 днів тому
post_go18.go d906a41c2e first commit 2 днів тому
post_go19.go d906a41c2e first commit 2 днів тому
pre_go18.go d906a41c2e first commit 2 днів тому
pre_go19.go d906a41c2e first commit 2 днів тому
split.go d906a41c2e first commit 2 днів тому
util.go d906a41c2e first commit 2 днів тому
yaml.go d906a41c2e first commit 2 днів тому

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