Versions in this module Expand all Collapse all v0 v0.1.1 Sep 16, 2023 v0.1.0 Sep 15, 2023 Changes in this version + var ErrInvalidName = errors.New("invalid profile name") + var ErrNameInUse = errors.New("name in use") + var ErrNotFound = errors.New("profile not found") + func IsValidName(name string) bool + type Config struct + Java string + type Manager interface + CreateProfile func(name string) (*Profile, error) + GetProfile func(name string) (*Profile, error) + Profiles func() []string + Save func() error + func NewManager(dataDir string) (Manager, error) + type Profile struct + Directory string + Name string + Type Type + Version string + func (p *Profile) Config() *Config + type Type int + const Fabric + const Unknown + const Vanilla