Documentation
¶
Index ¶
- type Array
- type Int
- type IntPair
- type Scalar
- type String
- func (a *String) Add(vals ...string) *String
- func (a String) At(k Scalar) string
- func (a String) Count() int
- func (a *String) Edit(k Scalar, v string) *String
- func (a String) Isset(k Scalar) bool
- func (a String) Iter() []string
- func (a String) KeyIter() []StringPair
- func (a *String) Push(vals ...string) int
- func (a *String) Unset(k Scalar)
- type StringPair
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Array ¶
Array encapsulates common methods for arrays. That means no Add/Edit/Push/Iter, because these are strongly typed. Only the ones using only scalar as an argument are here.
type Scalar ¶
type Scalar string
Scalar well-defines a key for PHP associative array. It is a decorated string which can convert other types to string using PHP common conventions, like false => zero, NULL => "" and so on.
type String ¶
type String struct {
// contains filtered or unexported fields
}
func (String) KeyIter ¶
func (a String) KeyIter() []StringPair
type StringPair ¶
Click to show internal directories.
Click to hide internal directories.