Abnt

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ABNTData

type ABNTData struct {
	AuthorName                string `json:"AuthorName,omitempty"`
	ABNT                      string `json:"abnt,omitempty"`
	ABNTShort                 string `json:"abnt_short,omitempty"`
	FirstLetters              string `json:"abnt_firstLetters,omitempty"`
	FirstLettersButCompanySig string `json:"abnt_firstLettersButCompanySig,omitempty"`
}

ABNTData main struct containing authors name, abnt format and short version of abnt.

func TransformABNT

func TransformABNT(authorName string) (ABNTData, error)

TransformABNT receives author name and returns the same name on ABNT format

type InitialABNT

type InitialABNT struct {
	ABNTFristPart string
	LastName      string
	JRName        string
}

InitialABNT is a simple struct that assemble the first part of abnt format with the last name and possible jr name

Jump to

Keyboard shortcuts

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