Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func (Config) Set ¶
Set the allowed upgrade level for a given pkg name. If level for pkg was previously set, sets the package to the new level and returns true. Otherwise, sets the package's level and returns false.
func (Config) SetDefault ¶
SetDefault sets the default allowed upgrade level packages that weren't explicitly set. If default was previously set, sets the default to the new level and returns true. Otherwise, sets the default and returns false.
Click to show internal directories.
Click to hide internal directories.