From 8b4acc74f8d286f9344dbe133418aaaa67c61824 Mon Sep 17 00:00:00 2001 From: Brian Buller Date: Fri, 17 Jun 2016 13:43:20 -0500 Subject: [PATCH] Sunlight Interface --- sunlight.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sunlight.go b/sunlight.go index 36e66e0..5ff4de4 100644 --- a/sunlight.go +++ b/sunlight.go @@ -1 +1,9 @@ package sunlightApi + +import "net/url" + +// SunlightAPI is the interface for all of the +// Sunlight Foundation's APIs +type SunlightAPI interface { + call(string, url.Values) ([]byte, error) +}