Help us shape the future of Go! Take the 2026 Go Developer Survey

defaults

package
v0.17.17 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const GRADLE_FILE_FORMAT = "*.gradle"
View Source
const SERVER_PORT = "server.port"
View Source
const SOURCE_COMPATIBILITY = "sourceCompatibility"
View Source
const TARGET_COMPATIBILITY = "targetCompatibility"

Variables

This section is empty.

Functions

This section is empty.

Types

type GradleExtractor

type GradleExtractor struct {
}

func (*GradleExtractor) GetName

func (*GradleExtractor) GetName() string

GetName implements reporeader.VariableExtractor

func (*GradleExtractor) MatchesLanguage

func (*GradleExtractor) MatchesLanguage(lowerlang string) bool

MatchesLanguage implements reporeader.VariableExtractor

func (*GradleExtractor) ReadDefaults

func (*GradleExtractor) ReadDefaults(r reporeader.RepoReader) (map[string]string, error)

ReadDefaults implements reporeader.VariableExtractor

type PythonExtractor

type PythonExtractor struct {
}

func (PythonExtractor) GetName

func (p PythonExtractor) GetName() string

func (PythonExtractor) MatchesLanguage

func (p PythonExtractor) MatchesLanguage(lowerlang string) bool

func (PythonExtractor) ReadDefaults

func (p PythonExtractor) ReadDefaults(r reporeader.RepoReader) (map[string]string, error)

ReadDefaults reads the default values for the language from the repo files

type Set

type Set map[interface{}]struct{}

func NewSet

func NewSet() Set

func (Set) Add

func (s Set) Add(item interface{})

func (Set) Contains

func (s Set) Contains(item interface{}) bool

Jump to

Keyboard shortcuts

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