Directories
¶
Path | Synopsis |
---|---|
css
|
|
color
Package color implements parsing, formatting, and manipulating CSS colours based on the [CSS Color Module Level 4] (W3C Candidate Recommendation Draft), 1 November 2022.
|
Package color implements parsing, formatting, and manipulating CSS colours based on the [CSS Color Module Level 4] (W3C Candidate Recommendation Draft), 1 November 2022. |
internal/parser/item
Package item defines CSS items in the tree produced by a parser.
|
Package item defines CSS items in the tree produced by a parser. |
tokenizer
Package tokenizer tokenizes CSS based on part four of the [CSS Syntax Module Level 3] (W3C Candidate Recommendation Draft), 24 December 2021.
|
Package tokenizer tokenizes CSS based on part four of the [CSS Syntax Module Level 3] (W3C Candidate Recommendation Draft), 24 December 2021. |
tokenizer/filter
Package filter implements a [transform.Transformer] that performs the Unicode code point filtering preprocessing step defined in [CSS Syntax Module Level 3, section 3.3]:
|
Package filter implements a [transform.Transformer] that performs the Unicode code point filtering preprocessing step defined in [CSS Syntax Module Level 3, section 3.3]: |
tokenizer/token
Package token defines CSS tokens produced by a tokenizer.
|
Package token defines CSS tokens produced by a tokenizer. |
Package dialog implements native, cross-platform message boxes, yes/no/okay/cancel confirmation prompts, file pickers, and others.
|
Package dialog implements native, cross-platform message boxes, yes/no/okay/cancel confirmation prompts, file pickers, and others. |
Package digraph implements a directed graph (a "digraph") and related operations.
|
Package digraph implements a directed graph (a "digraph") and related operations. |
fun
|
|
maybe
Package maybe implements a M{value, ok} "sum type" that has a value only when ok is true.
|
Package maybe implements a M{value, ok} "sum type" that has a value only when ok is true. |
partial
Package partial provides helpers for partial function application.
|
Package partial provides helpers for partial function application. |
result
Package result implements a R{value, error} "sum type" that has a value only when error is nil.
|
Package result implements a R{value, error} "sum type" that has a value only when error is nil. |
slices
Package slices provides generic higher-order functions over slices of values.
|
Package slices provides generic higher-order functions over slices of values. |
html
|
|
meta/opengraph
Package opengraph implements a way to represent data in the Open Graph protocol as typed Go structs, and render it as HTML meta tags.
|
Package opengraph implements a way to represent data in the Open Graph protocol as typed Go structs, and render it as HTML meta tags. |
meta/twittercard
Package twittercard implements a way to represent Twitter Cards Markup data as typed Go structs, and render it as HTML meta tags, to customise how a page looks when shared on Twitter.
|
Package twittercard implements a way to represent Twitter Cards Markup data as typed Go structs, and render it as HTML meta tags, to customise how a page looks when shared on Twitter. |
internal
|
|
unicode/gen-13.0.0/ccc
Command gen.go generates Canonical Combining Class information
|
Command gen.go generates Canonical Combining Class information |
unicode/gen-13.0.0/dm
Command gen.go generates decomposition mappings from Unicode data.
|
Command gen.go generates decomposition mappings from Unicode data. |
unicode/gen-13.0.0/fallback
Command gen.go generates a mapping from the first character of a decomposition to an ordered list of codepoints whose decomposition starts with that first character.
|
Command gen.go generates a mapping from the first character of a decomposition to an ordered list of codepoints whose decomposition starts with that first character. |
unicode/gen-13.0.0/np
Command gen.go generates Numeric Properties information
|
Command gen.go generates Numeric Properties information |
unicode/gen-cldr-41.0/fallback
Command gen.go generates a list of Unicode fallback substitutions
|
Command gen.go generates a list of Unicode fallback substitutions |
unicode/ldml
Package ldml parses LDML documents containing either language-dependent data or supplementary data.
|
Package ldml parses LDML documents containing either language-dependent data or supplementary data. |
Package iter implements iteration over sequences, including lazy evaluation.
|
Package iter implements iteration over sequences, including lazy evaluation. |
Package ks ("kitchen sink") implements assorted helpful things that don't fit anywhere else.
|
Package ks ("kitchen sink") implements assorted helpful things that don't fit anywhere else. |
legacy
|
|
humanize
Package humanize is an elegant, general-purpose, extensible, modular, locale-aware way to format and parse numbers and quantities - like distances, bytes, and time - in a human-readable way ideal for config files and as a building-block for fully translated ergonomic user interfaces.
|
Package humanize is an elegant, general-purpose, extensible, modular, locale-aware way to format and parse numbers and quantities - like distances, bytes, and time - in a human-readable way ideal for config files and as a building-block for fully translated ergonomic user interfaces. |
humanize/_examples/custom-durations
Example leveraging the raw parts of FormatParts to handle durations in a custom even nicer way for the english language.
|
Example leveraging the raw parts of FormatParts to handle durations in a custom even nicer way for the english language. |
humanize/_examples/custom-factors
Example using custom time factors from the Battlestar Galactica 1978 TV series.
|
Example using custom time factors from the Battlestar Galactica 1978 TV series. |
humanize/_examples/simple
Example formatting and parsing Byte quantities in various locales
|
Example formatting and parsing Byte quantities in various locales |
localize
Package localize is an attempt at implementing locale-aware parsing of numbers, integrating with golang.org/x/text.
|
Package localize is an attempt at implementing locale-aware parsing of numbers, integrating with golang.org/x/text. |
operator
Package operator implements logical, arithmetic, bitwise and comparison operators as functions (like the Python operator module).
|
Package operator implements logical, arithmetic, bitwise and comparison operators as functions (like the Python operator module). |
Package must implements assertions.
|
Package must implements assertions. |
Package operator implements builtin language operators, such as "==" (equals) or "+" (addition), as functions that can be passed to higher order functions.
|
Package operator implements builtin language operators, such as "==" (equals) or "+" (addition), as functions that can be passed to higher order functions. |
checked/integer
Package integer (operator/checked/integer) implements operations on integers that are robust in the event of integer overflow.
|
Package integer (operator/checked/integer) implements operations on integers that are robust in the event of integer overflow. |
text
|
|
ccc
Package ccc returns the Unicode [Canonical Combining Class] value for a codepoint.
|
Package ccc returns the Unicode [Canonical Combining Class] value for a codepoint. |
dm
Package dm provides a way to query Unicode decomposition mappings and perform a custom compatibility decomposition using [compatibility mapping tags].
|
Package dm provides a way to query Unicode decomposition mappings and perform a custom compatibility decomposition using [compatibility mapping tags]. |
fallback
Package fallback implements [Unicode Character Fallback Substitutions] using the Unicode CLDR 41.0 supplemental data file characters.xml, and an algorithm for enumerating every canonically equivalent string.
|
Package fallback implements [Unicode Character Fallback Substitutions] using the Unicode CLDR 41.0 supplemental data file characters.xml, and an algorithm for enumerating every canonically equivalent string. |
fold
Package fold implements operations that map similar characters to a common target.
|
Package fold implements operations that map similar characters to a common target. |
np
Package np provides a way to query the Numeric Properties of a Unicode code point.
|
Package np provides a way to query the Numeric Properties of a Unicode code point. |
number/algorithmic
Package algorithmic implements parsing and formatting of non-decimal number systems, such as roman numerals and traditional tamil numbers.
|
Package algorithmic implements parsing and formatting of non-decimal number systems, such as roman numerals and traditional tamil numbers. |
number/plurals
Package plurals is an easy-to-use wrapper around the /x/text/feature/plural package.
|
Package plurals is an easy-to-use wrapper around the /x/text/feature/plural package. |
number/rbnf
Package rbnf is a Go implementation of the Unicode Locale Data Markup Language (LDML) [Rule-Based Number Format (RBNF)].
|
Package rbnf is a Go implementation of the Unicode Locale Data Markup Language (LDML) [Rule-Based Number Format (RBNF)]. |
number/rbnf/internal/body
Package body implements parsing of a rbnf rule body.
|
Package body implements parsing of a rbnf rule body. |
number/rbnf/internal/descriptor
Package descriptor parses a RNBF rule descriptor.
|
Package descriptor parses a RNBF rule descriptor. |
runeio
Package runeio implements a mechanism to read a stream of Unicode code points (runes) from an io.Reader, with an internal buffer to push code points back to the front of the stream to allow limited peeking and rewind.
|
Package runeio implements a mechanism to read a stream of Unicode code points (runes) from an io.Reader, with an internal buffer to push code points back to the front of the stream to allow limited peeking and rewind. |
Package tuple simplifies packing and unpacking function arguments and results into generic tuple types.
|
Package tuple simplifies packing and unpacking function arguments and results into generic tuple types. |
Package view provides customisable abstractions over collections.
|
Package view provides customisable abstractions over collections. |
Click to show internal directories.
Click to hide internal directories.