Documentation
¶
Index ¶
Constants ¶
View Source
const ( ThemeKungFuPanda = "kungfu-panda" ThemeToyStory = "toy-story" ThemeGhibli = "ghibli" ThemeStarWars = "star-wars" ThemeDune = "dune" ThemeMatrix = "matrix" )
Theme names
Variables ¶
This section is empty.
Functions ¶
func GetThemeNames ¶
GetThemeNames returns the names for a given theme
func IsThemedName ¶
IsThemedName checks if a name belongs to any theme
func ThemeForProject ¶
ThemeForProject returns a consistent theme for a project name. The same project name will always get the same theme.
Types ¶
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
func LoadForProject ¶
LoadForProject loads a themed namepool based on the project name. The project name is hashed to consistently select a theme.
Click to show internal directories.
Click to hide internal directories.