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) } }
func handler(w http.ResponseWriter, r *http.Request) { w.Write([]byte(PickemLib.Data("paste"))) }