rander

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RanderTemplate

func RanderTemplate(path, packageName string, out api.MigrateOut) error

func Stamp

func Stamp(path string, out api.MigrateOut) error

Types

type VersionTemplate

type VersionTemplate struct {
	Version     string
	PreVersion  string
	PackageName *string
}

func (*VersionTemplate) Printf

func (v *VersionTemplate) Printf(out api.MigrateOut)

func (*VersionTemplate) RPrintf

func (v *VersionTemplate) RPrintf(out api.MigrateOut)

type VersionTemplateContext

type VersionTemplateContext struct {
	VersionTemps VersionTemplates

	PackageName string
	// contains filtered or unexported fields
}

type VersionTemplates

type VersionTemplates []*VersionTemplate

Jump to

Keyboard shortcuts

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