prometheus-adapter/vendor/github.com/go-openapi/swag
2020-02-12 17:56:04 +02:00
..
.editorconfig Check in the vendor directory 2018-07-13 17:32:49 -04:00
.gitignore Check in the vendor directory 2018-07-13 17:32:49 -04:00
.golangci.yml vendored changes 2020-02-12 17:56:04 +02:00
.travis.yml vendored changes 2020-02-12 17:56:04 +02:00
CODE_OF_CONDUCT.md Check in the vendor directory 2018-07-13 17:32:49 -04:00
convert.go vendored changes 2020-02-12 17:56:04 +02:00
convert_types.go Check in the vendor directory 2018-07-13 17:32:49 -04:00
doc.go vendored changes 2020-02-12 17:56:04 +02:00
go.mod vendored changes 2020-02-12 17:56:04 +02:00
go.sum vendored changes 2020-02-12 17:56:04 +02:00
json.go vendored changes 2020-02-12 17:56:04 +02:00
LICENSE Check in the vendor directory 2018-07-13 17:32:49 -04:00
loading.go Check in the vendor directory 2018-07-13 17:32:49 -04:00
net.go Check in the vendor directory 2018-07-13 17:32:49 -04:00
path.go Check in the vendor directory 2018-07-13 17:32:49 -04:00
post_go18.go Check in the vendor directory 2018-07-13 17:32:49 -04:00
post_go19.go Update deps to Kube 1.11.3 2018-09-24 14:47:22 -04:00
pre_go18.go Check in the vendor directory 2018-07-13 17:32:49 -04:00
pre_go19.go Update deps to Kube 1.11.3 2018-09-24 14:47:22 -04:00
README.md vendored changes 2020-02-12 17:56:04 +02:00
util.go vendored changes 2020-02-12 17:56:04 +02:00
yaml.go Update deps to Kube 1.11.3 2018-09-24 14:47:22 -04:00

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