longping d9e6e61923 first commit 1 vuosi sitten
..
.editorconfig d9e6e61923 first commit 1 vuosi sitten
.gitattributes d9e6e61923 first commit 1 vuosi sitten
.gitignore d9e6e61923 first commit 1 vuosi sitten
.golangci.yml d9e6e61923 first commit 1 vuosi sitten
CODE_OF_CONDUCT.md d9e6e61923 first commit 1 vuosi sitten
LICENSE d9e6e61923 first commit 1 vuosi sitten
README.md d9e6e61923 first commit 1 vuosi sitten
convert.go d9e6e61923 first commit 1 vuosi sitten
convert_types.go d9e6e61923 first commit 1 vuosi sitten
doc.go d9e6e61923 first commit 1 vuosi sitten
file.go d9e6e61923 first commit 1 vuosi sitten
json.go d9e6e61923 first commit 1 vuosi sitten
loading.go d9e6e61923 first commit 1 vuosi sitten
name_lexem.go d9e6e61923 first commit 1 vuosi sitten
net.go d9e6e61923 first commit 1 vuosi sitten
path.go d9e6e61923 first commit 1 vuosi sitten
post_go18.go d9e6e61923 first commit 1 vuosi sitten
post_go19.go d9e6e61923 first commit 1 vuosi sitten
pre_go18.go d9e6e61923 first commit 1 vuosi sitten
pre_go19.go d9e6e61923 first commit 1 vuosi sitten
split.go d9e6e61923 first commit 1 vuosi sitten
util.go d9e6e61923 first commit 1 vuosi sitten
yaml.go d9e6e61923 first commit 1 vuosi sitten

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