goodie bag in use in the go-openapi projects
Clone or download
casualjim Merge pull request #23 from fredbi/fix-copyright
Added missing copyright clause in sources
Latest commit 1d29f06 Nov 17, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github adds license etc Apr 17, 2016
.editorconfig allow for empty string in ToGoName Jan 29, 2017
.gitignore Abide by requested changes: (+)go fmt (-)vendor (-)Godeps Nov 11, 2017
.golangci.yml Update .golangci.yml Nov 16, 2018
.travis.yml use go 1.11 in travis Aug 25, 2018
CODE_OF_CONDUCT.md adds license etc Apr 17, 2016
LICENSE adds license etc Apr 17, 2016
README.md More UTs on name mangling Sep 3, 2018
convert.go Global read-only maps are safe, provided they are properly initialize… Sep 4, 2018
convert_test.go Global read-only maps are safe, provided they are properly initialize… Sep 4, 2018
convert_types.go Implements convert uint type fuctions. May 12, 2016
convert_types_test.go Added missing copyright clause in sources Oct 23, 2018
doc.go More UTs on name mangling Sep 3, 2018
go.mod add go.mod and go.sum Oct 7, 2018
go.sum add go.mod and go.sum Oct 7, 2018
json.go Global read-only maps are safe, provided they are properly initialize… Sep 4, 2018
json_test.go Fixes ConcatJSON() when concatenating with nulls Apr 5, 2018
loading.go fix pathunescap Mar 2, 2018
loading_test.go bump with latest golangci Sep 8, 2018
net.go Added missing copyright clause in sources Oct 23, 2018
net_test.go Added missing copyright clause in sources Oct 23, 2018
path.go update gopath search for 1.8 Apr 13, 2017
path_test.go Debt reduction: more golangci suggested linting Sep 3, 2018
post_go18.go Added missing copyright clause in sources Oct 23, 2018
post_go19.go Added missing copyright clause in sources Oct 23, 2018
pre_go18.go Added missing copyright clause in sources Oct 23, 2018
pre_go19.go Added missing copyright clause in sources Oct 23, 2018
util.go refactor: move globals Nov 16, 2018
util_test.go test: add BenchmarkToGoName Nov 16, 2018
yaml.go Fix minor linting issue with goimport Oct 25, 2018
yaml_test.go Fix minor linting issue with goimport Oct 25, 2018

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:

  • JSON utilities depend on github.com/mailru/easyjson
  • YAML utilities depend on gopkg.in/yaml.v2