names

package
v1.20240719.1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package names contains helpers for parsing names into constituent parts, i.e. Family and Given.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Name

type Name struct {
	Salutation string
	FirstName  string
	MiddleName string
	LastName   string
	Suffix     string
}

Name is a structured/parsed name.

func Parse

func Parse(input string) (name Name)

Parse parses a string into a name.

func (Name) String

func (n Name) String() string

String returns the string representation of a name.

Jump to

Keyboard shortcuts

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