Documentation ¶
Index ¶
Constants ¶
View Source
const (
)Variables ¶
View Source
var (
CoAuthorsFilePath string
)
Functions ¶
Types ¶
type Author ¶
func MustParseOne ¶
MustParseOne parses an author string into an Author and panics if parsing fails
func (Author) CoauthorTag ¶
func (Author) CoauthorTagBytes ¶
func (Author) InitialsFromName ¶
type AuthorWithInitials ¶
type CoAuthorsFileContent ¶
func ReadCoAuthorsContent ¶
func ReadCoAuthorsContent() (CoAuthorsFileContent, error)
func ReadCoAuthorsContentFromBytes ¶
func ReadCoAuthorsContentFromBytes(b []byte) (CoAuthorsFileContent, error)
func ReadCoAuthorsContentFromFile ¶
func ReadCoAuthorsContentFromFile(filePath string) (CoAuthorsFileContent, error)
func (CoAuthorsFileContent) FindAndFormatAsList ¶
func (f CoAuthorsFileContent) FindAndFormatAsList(initials ...string) []string
func (CoAuthorsFileContent) FindInitialsFromCoAuthorStrings ¶
func (f CoAuthorsFileContent) FindInitialsFromCoAuthorStrings(ss ...string) []string
func (CoAuthorsFileContent) LookupByInitials ¶
func (f CoAuthorsFileContent) LookupByInitials(initials ...string) []Author
Click to show internal directories.
Click to hide internal directories.