tree: ef449fe828985c5a9e846431e0ae7295d1ffd52c [path history] [tgz]
  1. .editorconfig
  2. .gitignore
  3. .golangci.yml
  4. .travis.yml
  5. CODE_OF_CONDUCT.md
  6. convert.go
  7. convert_types.go
  8. doc.go
  9. go.mod
  10. go.sum
  11. json.go
  12. LICENSE
  13. loading.go
  14. net.go
  15. path.go
  16. post_go18.go
  17. post_go19.go
  18. pre_go18.go
  19. pre_go19.go
  20. README.md
  21. util.go
  22. yaml.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