Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
.github/ | H | 07-Feb-2021 | - | |||
.editorconfig | H A D | 07-Feb-2021 | 539 | |||
.gitignore | H A D | 07-Feb-2021 | 32 | |||
.golangci.yml | H A D | 07-Feb-2021 | 617 | |||
.travis.yml | H A D | 07-Feb-2021 | 1.4 KiB | |||
CODE_OF_CONDUCT.md | H A D | 07-Feb-2021 | 3.2 KiB | |||
LICENSE | H A D | 07-Feb-2021 | 11.1 KiB | |||
README.md | H A D | 07-Feb-2021 | 1.1 KiB | |||
convert.go | H A D | 07-Feb-2021 | 5.2 KiB | |||
convert_test.go | H A D | 07-Feb-2021 | 6.6 KiB | |||
convert_types.go | H A D | 07-Feb-2021 | 15.3 KiB | |||
convert_types_test.go | H A D | 07-Feb-2021 | 17.7 KiB | |||
doc.go | H A D | 07-Feb-2021 | 1.1 KiB | |||
go.mod | H A D | 07-Feb-2021 | 618 | |||
go.sum | H A D | 07-Feb-2021 | 2.5 KiB | |||
json.go | H A D | 07-Feb-2021 | 7.8 KiB | |||
json_test.go | H A D | 07-Feb-2021 | 7.9 KiB | |||
loading.go | H A D | 07-Feb-2021 | 3.6 KiB | |||
loading_test.go | H A D | 07-Feb-2021 | 5 KiB | |||
name_lexem.go | H A D | 07-Feb-2021 | 1.8 KiB | |||
net.go | H A D | 07-Feb-2021 | 1.1 KiB | |||
net_test.go | H A D | 07-Feb-2021 | 1.2 KiB | |||
path.go | H A D | 07-Feb-2021 | 1.6 KiB | |||
path_test.go | H A D | 07-Feb-2021 | 3.3 KiB | |||
post_go18.go | H A D | 07-Feb-2021 | 730 | |||
post_go19.go | H A D | 07-Feb-2021 | 1.7 KiB | |||
pre_go18.go | H A D | 07-Feb-2021 | 732 | |||
pre_go19.go | H A D | 07-Feb-2021 | 1.7 KiB | |||
split.go | H A D | 07-Feb-2021 | 6.2 KiB | |||
util.go | H A D | 07-Feb-2021 | 9.1 KiB | |||
util_test.go | H A D | 07-Feb-2021 | 12.7 KiB | |||
yaml.go | H A D | 07-Feb-2021 | 5.9 KiB | |||
yaml_test.go | H A D | 07-Feb-2021 | 10 KiB |
README.md
1# Swag [![Build Status](https://travis-ci.org/go-openapi/swag.svg?branch=master)](https://travis-ci.org/go-openapi/swag) [![codecov](https://codecov.io/gh/go-openapi/swag/branch/master/graph/badge.svg)](https://codecov.io/gh/go-openapi/swag) [![Slack Status](https://slackin.goswagger.io/badge.svg)](https://slackin.goswagger.io) 2 3[![license](http://img.shields.io/badge/license-Apache%20v2-orange.svg)](https://raw.githubusercontent.com/go-openapi/swag/master/LICENSE) 4[![GoDoc](https://godoc.org/github.com/go-openapi/swag?status.svg)](http://godoc.org/github.com/go-openapi/swag) 5[![Go Report Card](https://goreportcard.com/badge/github.com/go-openapi/swag)](https://goreportcard.com/report/github.com/go-openapi/swag) 6 7Contains a bunch of helper functions for go-openapi and go-swagger projects. 8 9You may also use it standalone for your projects. 10 11* convert between value and pointers for builtin types 12* convert from string to builtin types (wraps strconv) 13* fast json concatenation 14* search in path 15* load from file or http 16* name mangling 17 18 19This repo has only few dependencies outside of the standard library: 20 21* YAML utilities depend on gopkg.in/yaml.v2 22