iwita b9152718d2 new version 5 years ago
..
.editorconfig b9152718d2 new version 5 years ago
.gitignore b9152718d2 new version 5 years ago
.golangci.yml b9152718d2 new version 5 years ago
.travis.yml b9152718d2 new version 5 years ago
BUILD b9152718d2 new version 5 years ago
CODE_OF_CONDUCT.md b9152718d2 new version 5 years ago
LICENSE b9152718d2 new version 5 years ago
README.md b9152718d2 new version 5 years ago
convert.go b9152718d2 new version 5 years ago
convert_types.go b9152718d2 new version 5 years ago
doc.go b9152718d2 new version 5 years ago
go.mod b9152718d2 new version 5 years ago
go.sum b9152718d2 new version 5 years ago
json.go b9152718d2 new version 5 years ago
loading.go b9152718d2 new version 5 years ago
name_lexem.go b9152718d2 new version 5 years ago
net.go b9152718d2 new version 5 years ago
path.go b9152718d2 new version 5 years ago
post_go18.go b9152718d2 new version 5 years ago
post_go19.go b9152718d2 new version 5 years ago
pre_go18.go b9152718d2 new version 5 years ago
pre_go19.go b9152718d2 new version 5 years ago
split.go b9152718d2 new version 5 years ago
util.go b9152718d2 new version 5 years ago
yaml.go b9152718d2 new version 5 years ago

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:

  • YAML utilities depend on gopkg.in/yaml.v2