templates

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const GoModTemplateV2 string = `` /* 521-byte string literal not displayed */
View Source
const GoModTemplateV2023 string = `` /* 888-byte string literal not displayed */
View Source
const PluginsTemplateV2 string = `` /* 472-byte string literal not displayed */
View Source
const PluginsTemplateV2023 string = `` /* 472-byte string literal not displayed */

Variables

This section is empty.

Functions

func CompileGoModTemplate2023

func CompileGoModTemplate2023(buf *bytes.Buffer, data *Template) error

func CompileGoModTemplateV2

func CompileGoModTemplateV2(buf *bytes.Buffer, data *Template) error

func CompileTemplateV2

func CompileTemplateV2(buf *bytes.Buffer, data *Template) error

func CompileTemplateV2023

func CompileTemplateV2023(buf *bytes.Buffer, data *Template) error

Types

type Entry

type Entry struct {
	// Module is the module name (github.com/roadrunner-server/logger/v2)
	Module    string
	Structure string
	// Prefix is the prefix for the plugin to avoid collisions
	Prefix string
	// PseudoVersion is the pseudo version of the module (v0.0.0-20210101000000-000000000000)
	PseudoVersion string
	// Replace directive, should include a path
	Replace string
}

Entry represents all info about module

type Template

type Template struct {
	// ModuleVersion is the main module version, like v2023.1.0
	ModuleVersion string
	Entries       []*Entry
}

Jump to

Keyboard shortcuts

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