Skip to content

Latest commit

 

History

History
executable file
·
45 lines (27 loc) · 676 Bytes

acronym-doc.md

File metadata and controls

executable file
·
45 lines (27 loc) · 676 Bytes

acronym

import "acronym"

Package acronym converts a phrase to its acronym. The 1st iteration is better than the second one.

Index

func Abbreviate(s string) string

Abbreviate returns an acronym from the supplied string.

Example

{
	fmt.Println(Abbreviate("One Two Three"))

}

Output

OTT

Generated by gomarkdoc