From 7194cca8b7a73c835bb0d1acb5bbc8af9d96a10d Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Sat, 17 Dec 2016 06:08:53 -0800 Subject: moving reference into API package and testing API based approach --- content/reference.go | 57 ---------------------------------------------------- 1 file changed, 57 deletions(-) delete mode 100644 content/reference.go (limited to 'content/reference.go') diff --git a/content/reference.go b/content/reference.go deleted file mode 100644 index 0853b3d..0000000 --- a/content/reference.go +++ /dev/null @@ -1,57 +0,0 @@ -package content - -import ( - "encoding/json" - "fmt" - "log" - - "github.com/bosssauce/ponzu/management/editor" - "github.com/bosssauce/ponzu/system/api" -) - -// Referenceable enures there is a way to reference the implenting type from -// within another type's editor and from type-scoped API calls -type Referenceable interface { - Referenced() []byte -} - -// Select returns the []byte of a