ltstring

package
v0.0.0-...-e6ef1c1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2019 License: EPL-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Provides string utilities for liturgical text processing

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Timestamp

func Timestamp() string

Returns a timestamp that is standardized for Liturgical Text Software (LTS). Always returns UTC. Example: 2019-08-14 12:50:29.275002 +0000 UTC

func ToDomain

func ToDomain(language string, country string, realm string) string

Create canonical OLW domain from parts

func ToId

func ToId(lang string, country string, realm string, topic string, key string) string

Create canonical OLW ID from supplied parts

func ToNnp

func ToNnp(text string) string

Converts text to a Normalized form with no punctuation. It will be lowercase with no diacritics or punctuation.

func ToNwp

func ToNwp(text string) string

Converts text to a Normalized form with punctuation. It will be lowercase with no diacritics. Punctuation is preserved.

Types

This section is empty.

Jump to

Keyboard shortcuts

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