squat 1bd3cc5858 revendor 4 months ago
..
.editorconfig 1bd3cc5858 revendor 4 months ago
.gitattributes 1bd3cc5858 revendor 4 months ago
.gitignore 1bd3cc5858 revendor 4 months ago
.golangci.yml 1bd3cc5858 revendor 4 months ago
CODE_OF_CONDUCT.md 1bd3cc5858 revendor 4 months ago
LICENSE 1bd3cc5858 revendor 4 months ago
README.md 1bd3cc5858 revendor 4 months ago
convert.go 1bd3cc5858 revendor 4 months ago
convert_types.go 1bd3cc5858 revendor 4 months ago
doc.go 1bd3cc5858 revendor 4 months ago
file.go 1bd3cc5858 revendor 4 months ago
json.go 1bd3cc5858 revendor 4 months ago
loading.go 1bd3cc5858 revendor 4 months ago
name_lexem.go 1bd3cc5858 revendor 4 months ago
net.go 1bd3cc5858 revendor 4 months ago
path.go 1bd3cc5858 revendor 4 months ago
post_go18.go 1bd3cc5858 revendor 4 months ago
post_go19.go 1bd3cc5858 revendor 4 months ago
pre_go18.go 1bd3cc5858 revendor 4 months ago
pre_go19.go 1bd3cc5858 revendor 4 months ago
split.go 1bd3cc5858 revendor 4 months ago
util.go 1bd3cc5858 revendor 4 months ago
yaml.go 1bd3cc5858 revendor 4 months ago

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