params

package
v7.7.2 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Header(githubUrl string) string

func IsLanguageGo

func IsLanguageGo(p Params) bool

func RegenerableFileName

func RegenerableFileName(p Params, suffix string) string

Types

type Params

type Params struct {
	// Dir is the name of the directory where the files of the resource
	// should be generated.
	Dir string

	// Flavours is the type of project that the rules are for.
	Flavours gen.FlavourSlice

	// Language is the language of the repo that the rules are for.
	Language string
}

Jump to

Keyboard shortcuts

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