moduleset

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2025 License: Apache-2.0 Imports: 4 Imported by: 2 modules, 1 package

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

This section is empty.

Variables

View Source
var ErrNotInited = errors.New("modules haven't been initialized yet")

Functions

This section is empty.

Types

type ModulesSet

type ModulesSet struct {
	// contains filtered or unexported fields
}

func (*ModulesSet) Add

func (s *ModulesSet) Add(mods ...*modules.BasicModule)

adds a new module or overwrite an existing

func (*ModulesSet) Get

func (s *ModulesSet) Get(name string) *modules.BasicModule

func (*ModulesSet) Has

func (s *ModulesSet) Has(name string) bool

func (*ModulesSet) IsInited added in v1.3.7

func (s *ModulesSet) IsInited() bool

func (*ModulesSet) Len

func (s *ModulesSet) Len() int

func (*ModulesSet) List

func (s *ModulesSet) List() []*modules.BasicModule

func (*ModulesSet) NamesInOrder

func (s *ModulesSet) NamesInOrder() []string

func (*ModulesSet) SetInited added in v1.3.7

func (s *ModulesSet) SetInited()

Jump to

Keyboard shortcuts

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