# Functions
CamelCaseString converts a pascal case string to camel case.
No description provided by the author
CommunitySlugAsURL returns the InvenioRDM community slug expressed as globally unique URL.
No description provided by the author
DedupeSlice removes duplicates from a slice https://stackoverflow.com/questions/66643946/how-to-remove-duplicates-strings-or-int-from-slice-in-go/76948712#76948712.
No description provided by the author
FindFromFormat finds the commonmeta read format.
FindFromFormatByDict finds the commonmeta reader from format by dictionary.
FindFromFormatByExt finds the commonmeta reader from format by file extension.
FindFromFormatByFilename finds the commonmeta reader from format by filename.
FindFromFormatByID finds the commonmeta reader from format by id.
FindFromFormatByString finds the commonmeta reader from format by string.
No description provided by the author
GetROR.
ISSNAsURL returns the ISSN expressed as URL.
KebabCaseToCamelCase converts a kebab case string to camel case.
KebabCaseToPascalCase converts a kebab case string to pascal case.
NormalizeCCUrl returns the normalized Creative Commons License URL.
NormalizeID checks for valid DOI or HTTP(S) URL and normalizes them.
NormalizeORCID returns a normalized ORCID URL.
NormalizeROR returns a normalized ROR URL.
NormalizeURL normalizes URL.
ParseString parses an interface into a string.
Sanitize removes all HTML tags except for a whitelist of allowed tags.
TitleCase capitalizes the first letter of a string without changing the rest.
UnescapeUTF8 unescapes UTF-8 characters.
URLToSPDX provides the SPDX license ID given a Creative Commons URL.
ValidateID validates an identifier and returns the type Can be DOI, UUID, ISSN, ORCID, ROR, URL.
ValidateISSN validates an ISSN.
ValidateORCID validates an ORCID.
ValidateROR validates a ROR.
ValidateURL validates a URL and checks if it is a DOI.
ValidateUUID validates a UUID.