Documentation ¶
Index ¶
- func Await(promise app.Value) (res app.Value, err error)
- func Bytes2JS(b []byte) app.Value
- func Callback0(fn func() interface{}) app.Func
- func Callback1(fn func(res app.Value) interface{}) app.Func
- func CallbackN(fn func(res []app.Value) interface{}) app.Func
- func Fetch(url string, opt map[string]interface{}) (app.Value, error)
- func Form2Go(form app.Value) map[string]interface{}
- func IsArray(item app.Value) bool
- func JS2Bytes(v app.Value) []byte
- func JS2Go(obj app.Value) interface{}
- func UnwrapError(v app.Value) error
- func WrapError(err error) app.Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UnwrapError ¶
UnwrapError to unwrap app.Value to golang standard error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.