profile

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultProfileSlug = "default"

Variables

This section is empty.

Functions

This section is empty.

Types

type IProfileRepository

type IProfileRepository interface {
	ListAll() (map[string]*Profile, error)
	FindBySlug(slug string) (*Profile, error)
}

type Profile

type Profile struct {
	Name   string `toml:"name"`
	Slug   string `toml:"_"`
	Author string `toml:"author"`
	Data   string `toml:"data"`
}

func DefaultProfile

func DefaultProfile() *Profile

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳