forked from manishrjain/gocrud
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
almost final touches to presentation
- Loading branch information
Manish R Jain
committed
Sep 27, 2015
1 parent
d60385f
commit f5c8ffa
Showing
4 changed files
with
28 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package main | ||
|
||
type Update interface { | ||
SetSource(source string) Update // Authorship | ||
AddChild(kind string) Update // New entry in table kind | ||
MarkDeleted() Update // Set deleted to true | ||
Set(property string, value interface{}) Update | ||
Execute() error | ||
} | ||
|
||
type Query interface { | ||
UptoDepth(level int) Query | ||
Collect(kind string) Query // select * from kind where parent = me; | ||
FilterOut(property string) Query // where property is NULL; | ||
Run() (Result, error) | ||
} | ||
type Result struct{} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.