-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
221 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
package gdag | ||
|
||
// G is short name of Goal func. | ||
func G(text string) *Node { | ||
return Goal(text) | ||
} | ||
|
||
// T is short name of Task func. | ||
func T(text string) *Node { | ||
return Task(text) | ||
} | ||
|
||
// D is short name of Done func. | ||
func D(nodes ...*Node) { | ||
Done(nodes...) | ||
} | ||
|
||
// C is short name of Con func. | ||
func (upstream *Node) C(current *Node) *Node { | ||
return upstream.Con(current) | ||
} | ||
|
||
// N is short name of Note func. | ||
func (current *Node) N(note string) { | ||
current.Note(note) | ||
} | ||
|
||
// GUML is short name of GenerateUML func. | ||
func GUML(node *Node) error { | ||
return GenerateUML(node) | ||
} | ||
|
||
// GCL is short name of GenerateCheckList func. | ||
func GCL(node *Node) error { | ||
return GenerateCheckList(node) | ||
} |
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