golang

package
v0.0.0-...-3579762 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 1, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package golang provides the Go-specific template function map used by the go-swagger code generator. Functions defined here are pure utilities with no dependency on the generator's own types (GenSchema, GenOperation, etc.).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FuncMap

func FuncMap(mangler mangling.GoMangler) template.FuncMap

FuncMap returns a template.FuncMap containing all Go-specific template functions that are independent of generator types. Callers typically merge additional entries (e.g. LanguageOpts-dependent or type-dependent functions) on top.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL