text: golang.org/x/text/internal/format Index | Files

package format

import "golang.org/x/text/internal/format"

Package format contains types for defining language-specific formatting of values.

This package is internal now, but will eventually be exposed after the API settles.


Package Files


type State Uses

type State interface {

    // Language reports the requested language in which to render a message.
    Language() language.Tag

State represents the printer state passed to custom formatters. It provides access to the fmt.State interface and the sentence and language-related context.

type Statement Uses

type Statement interface {
    // contains filtered or unexported methods

A Statement is a Var or an Expression.

type String Uses

type String string

A String a literal string format.

Package format imports 2 packages (graph) and is imported by 1 packages. Updated 2017-08-16. Refresh now. Tools for package owners.