require

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IRequires

type IRequires interface {
	Set(id string, requires []string)
	Del(id string)
	RequireByCount(requireId string) int
}

func NewRequireManager

func NewRequireManager() IRequires

type Manager

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

func (*Manager) Del

func (w *Manager) Del(id string)

func (*Manager) RequireByCount

func (w *Manager) RequireByCount(requireId string) int

func (*Manager) Set

func (w *Manager) Set(id string, requiresIds []string)

Jump to

Keyboard shortcuts

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