周玉环 d906a41c2e first commit hai 2 días
..
.editorconfig d906a41c2e first commit hai 2 días
.gitignore d906a41c2e first commit hai 2 días
.golangci.yml d906a41c2e first commit hai 2 días
.travis.yml d906a41c2e first commit hai 2 días
CODE_OF_CONDUCT.md d906a41c2e first commit hai 2 días
LICENSE d906a41c2e first commit hai 2 días
README.md d906a41c2e first commit hai 2 días
convert.go d906a41c2e first commit hai 2 días
convert_types.go d906a41c2e first commit hai 2 días
doc.go d906a41c2e first commit hai 2 días
json.go d906a41c2e first commit hai 2 días
loading.go d906a41c2e first commit hai 2 días
name_lexem.go d906a41c2e first commit hai 2 días
net.go d906a41c2e first commit hai 2 días
path.go d906a41c2e first commit hai 2 días
post_go18.go d906a41c2e first commit hai 2 días
post_go19.go d906a41c2e first commit hai 2 días
pre_go18.go d906a41c2e first commit hai 2 días
pre_go19.go d906a41c2e first commit hai 2 días
split.go d906a41c2e first commit hai 2 días
util.go d906a41c2e first commit hai 2 días
yaml.go d906a41c2e first commit hai 2 días

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