tree: 0b7bf10087a0c1bceb4fae62c9725f8ab7a2b46a [path history] [tgz]
  1. .github/
  2. .editorconfig
  3. .gitignore
  4. .golangci.yml
  5. .travis.yml
  6. CODE_OF_CONDUCT.md
  7. convert.go
  8. convert_test.go
  9. convert_types.go
  10. convert_types_test.go
  11. doc.go
  12. go.mod
  13. go.sum
  14. json.go
  15. json_test.go
  16. LICENSE
  17. loading.go
  18. loading_test.go
  19. net.go
  20. net_test.go
  21. path.go
  22. path_test.go
  23. post_go18.go
  24. post_go19.go
  25. pre_go18.go
  26. pre_go19.go
  27. README.md
  28. util.go
  29. util_test.go
  30. yaml.go
  31. yaml_test.go
vendor/github.com/go-openapi/swag/README.md

Swag Build Status codecov Slack Status

license GoDoc GolangCI 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:

  • JSON utilities depend on github.com/mailru/easyjson
  • YAML utilities depend on gopkg.in/yaml.v2