templates

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: MIT Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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