Beispiel #1
0
func TestData(t *testing.T) {
	var pickemName = "Comp-698"
	var d = PickemLib.Data(pickemName)
	if d.Name != pickemName {
		t.Errorf("Error!  Data(%s) == %s, not %s", pickemName, d.Name, pickemName)
	}
}
Beispiel #2
0
func handler(w http.ResponseWriter, r *http.Request) {
	w.Write([]byte(PickemLib.Data("paste")))
}