An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 5.4% on proxy.golang.org

proxy.golang.org : github.com/go-openapi/swag/mangling

Package mangling provides name mangling capabilities. Name mangling is an important stage when generating code: it helps construct safe program identifiers that abide by the language rules and play along with linters. Examples: Suppose we get an object name taken from an API spec: "json_object", We may generate a legit go type name using NameMangler.ToGoName: "JsonObject". We may then locate this type in a source file named using NameMangler.ToFileName: "json_object.go". The methods exposed by the NameMangler are used to generate code in many different contexts, such as:

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/go-openapi/swag/mangling
License: Apache-2.0
Latest release: 27 days ago
First release: about 2 months ago
Namespace: github.com/go-openapi/swag
Stars: 211 on GitHub
Forks: 51 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 1 day ago

    Loading...
    Readme
    Loading...