fmt

package
Version: v0.27.1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Namespace

type Namespace struct {
}

Namespace provides template functions for the "fmt" namespace.

func New

func New() *Namespace

New returns a new instance of the fmt-namespaced template functions.

func (*Namespace) Print

func (ns *Namespace) Print(a ...interface{}) string

Print returns string representation of the passed arguments.

func (*Namespace) Printf

func (ns *Namespace) Printf(format string, a ...interface{}) string

Printf returns a formatted string representation of the passed arguments.

func (*Namespace) Println

func (ns *Namespace) Println(a ...interface{}) string

Print returns string representation of the passed arguments ending with a newline.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL