groups

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: Apache-2.0 Imports: 4 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseGroupConfigFile

func ParseGroupConfigFile(groupConfigPath string) (map[string]Group, error)

ParseGroupConfigFile parses the groups configuration file and return the read groups

Types

type Configuration

type Configuration struct {
	ConfigPath string `mapstructure:"path" toml:"path"`
}

Configuration represents configuration for groups configuration file

type Group

type Group struct {
	Name        string   `yaml:"name" json:"title"`
	Description string   `yaml:"description" json:"description"`
	Tags        []string `yaml:"tags" json:"tags"`
}

Group represent the relative information about a group

Jump to

Keyboard shortcuts

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