Documentation ¶
Overview ¶
Package fmt provides template functions for formatting strings.
Index ¶
- type Namespace
- func (ns *Namespace) Errorf(format string, a ...interface{}) string
- func (ns *Namespace) Print(a ...interface{}) string
- func (ns *Namespace) Printf(format string, a ...interface{}) string
- func (ns *Namespace) Println(a ...interface{}) string
- func (ns *Namespace) Warnf(format string, a ...interface{}) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Namespace ¶
type Namespace struct {
// contains filtered or unexported fields
}
Namespace provides template functions for the "fmt" namespace.
func (*Namespace) Errorf ¶ added in v0.30.1
Errorf formats according to a format specifier and logs an ERROR. It returns an empty string.
func (*Namespace) Printf ¶
Printf returns a formatted string representation of the passed arguments.
Click to show internal directories.
Click to hide internal directories.