tests

package
v4.0.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 14, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Example
session, err := r.Connect(r.ConnectOpts{
	Address: url,
})
if err != nil {
	log.Fatalln(err)
}

res, err := r.Expr("Hello World").Run(session)
if err != nil {
	log.Fatalln(err)
}

var response string
err = res.One(&response)
if err != nil {
	log.Fatalln(err)
}

fmt.Println(response)
Output:

Hello World

Index

Examples

Constants

This section is empty.

Variables

View Source
var JsonEquals = &jsonChecker{
	&test.CheckerInfo{Name: "JsonEquals", Params: []string{"obtained", "expected"}},
}

JsonEquals compares two interface{} objects by converting them to JSON and seeing if the strings match

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL