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

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