longping d9e6e61923 first commit 1 år sedan
..
.editorconfig d9e6e61923 first commit 1 år sedan
.gitattributes d9e6e61923 first commit 1 år sedan
.gitignore d9e6e61923 first commit 1 år sedan
.golangci.yml d9e6e61923 first commit 1 år sedan
CODE_OF_CONDUCT.md d9e6e61923 first commit 1 år sedan
LICENSE d9e6e61923 first commit 1 år sedan
README.md d9e6e61923 first commit 1 år sedan
convert.go d9e6e61923 first commit 1 år sedan
convert_types.go d9e6e61923 first commit 1 år sedan
doc.go d9e6e61923 first commit 1 år sedan
file.go d9e6e61923 first commit 1 år sedan
json.go d9e6e61923 first commit 1 år sedan
loading.go d9e6e61923 first commit 1 år sedan
name_lexem.go d9e6e61923 first commit 1 år sedan
net.go d9e6e61923 first commit 1 år sedan
path.go d9e6e61923 first commit 1 år sedan
post_go18.go d9e6e61923 first commit 1 år sedan
post_go19.go d9e6e61923 first commit 1 år sedan
pre_go18.go d9e6e61923 first commit 1 år sedan
pre_go19.go d9e6e61923 first commit 1 år sedan
split.go d9e6e61923 first commit 1 år sedan
util.go d9e6e61923 first commit 1 år sedan
yaml.go d9e6e61923 first commit 1 år sedan

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