type github.com/go-faster/jx.Num
28 uses
github.com/go-faster/jx (current package)
dec_num.go#L10: func (d *Decoder) Num() (Num, error) {
dec_num.go#L15: func (d *Decoder) NumAppend(v Num) (Num, error) {
dec_num.go#L20: func (d *Decoder) num(v Num, forceAppend bool) (Num, error) {
dec_num.go#L28: return Num{}, errors.Wrap(err, "str")
dec_num.go#L38: return Num{}, err
dec_num.go#L45: return Num{}, errors.Wrap(err, "skip number")
dec_num.go#L66: return Num(raw), nil
dec_num.go#L73: return Num(raw), nil
enc_num.go#L4: func (e *Encoder) Num(v Num) bool {
num.go#L21: type Num []byte
num.go#L23: func (n Num) dec() Decoder {
num.go#L38: func (n Num) Str() bool {
num.go#L42: func (n Num) floatAsInt() (dotIdx int, _ error) {
num.go#L64: func (n Num) Int64() (int64, error) {
num.go#L77: func (n Num) IsInt() bool {
num.go#L100: func (n Num) Uint64() (uint64, error) {
num.go#L113: func (n Num) Float64() (float64, error) {
num.go#L119: func (n Num) Equal(v Num) bool {
num.go#L123: func (n Num) String() string {
num.go#L131: func (n Num) Format(f fmt.State, verb rune) {
num.go#L157: func (n Num) Sign() int {
num.go#L179: func (n Num) Positive() bool { return n.Sign() > 0 }
num.go#L182: func (n Num) Negative() bool { return n.Sign() < 0 }
num.go#L185: func (n Num) Zero() bool {
w_num.go#L4: func (w *Writer) Num(v Num) bool {
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |