template

package
v0.0.0-...-b97f695 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MainTpl

type MainTpl struct {
	Imports    []string
	Migrates   []string
	Version    string
	CreateTime string
}

func (*MainTpl) Has

func (m *MainTpl) Has(name string) bool

func (*MainTpl) Parse

func (m *MainTpl) Parse() ([]byte, error)

type MigrateTemplate

type MigrateTemplate struct {
	Name        string
	Package     string
	Id          uint64
	Version     string
	ToolVersion string
	CreateTime  string
}

func (*MigrateTemplate) Parse

func (m *MigrateTemplate) Parse() ([]byte, error)

Jump to

Keyboard shortcuts

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