longping d9e6e61923 first commit 1 рік тому
..
.editorconfig d9e6e61923 first commit 1 рік тому
.gitattributes d9e6e61923 first commit 1 рік тому
.gitignore d9e6e61923 first commit 1 рік тому
.golangci.yml d9e6e61923 first commit 1 рік тому
CODE_OF_CONDUCT.md d9e6e61923 first commit 1 рік тому
LICENSE d9e6e61923 first commit 1 рік тому
README.md d9e6e61923 first commit 1 рік тому
convert.go d9e6e61923 first commit 1 рік тому
convert_types.go d9e6e61923 first commit 1 рік тому
doc.go d9e6e61923 first commit 1 рік тому
file.go d9e6e61923 first commit 1 рік тому
json.go d9e6e61923 first commit 1 рік тому
loading.go d9e6e61923 first commit 1 рік тому
name_lexem.go d9e6e61923 first commit 1 рік тому
net.go d9e6e61923 first commit 1 рік тому
path.go d9e6e61923 first commit 1 рік тому
post_go18.go d9e6e61923 first commit 1 рік тому
post_go19.go d9e6e61923 first commit 1 рік тому
pre_go18.go d9e6e61923 first commit 1 рік тому
pre_go19.go d9e6e61923 first commit 1 рік тому
split.go d9e6e61923 first commit 1 рік тому
util.go d9e6e61923 first commit 1 рік тому
yaml.go d9e6e61923 first commit 1 рік тому

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