Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnsafeGet ¶
func UnsafeGet(m *orderedmap.OrderedMap, key string) interface{}
UnsafeGet returns the value associated with the key without checking if the key exists. This is useful for loop iterations: The loop runs over the keys using Keys(), so it is safe to use Get(), Yet the original interface (with comma-ok) does not allow for inline-conversion, which forces the creation of an intermediate temporary variable.
Types ¶
type PrependedStringBuilder ¶
type PrependedStringBuilder struct {
// contains filtered or unexported fields
}
func NewPrependedStringBuilder ¶
func NewPrependedStringBuilder(prepend string) *PrependedStringBuilder
func (*PrependedStringBuilder) String ¶
func (isb *PrependedStringBuilder) String() string
func (*PrependedStringBuilder) WriteString ¶
func (isb *PrependedStringBuilder) WriteString(str string)
Click to show internal directories.
Click to hide internal directories.