templates

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package templates provides a template used by copygen to generate custom code.

Package templates provides a template used by copygen to generate custom code.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultFunction

func DefaultFunction(function models.Function) string

DefaultFunction provides generated code for a function using the default method.

func DefaultHeader

func DefaultHeader(gen models.Generator) string

DefaultHeader provides the header of the generated file using the default method.

func Function

func Function(function models.Function) string

Function provides the generated code for each function. GENERATOR FUNCTION EDITABLE. DO NOT REMOVE.

func Header(gen models.Generator) string

Header provides the header of the generated code. GENERATOR FUNCTION EDITABLE. DO NOT REMOVE.

Types

This section is empty.

Jump to

Keyboard shortcuts

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