-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dictionary: implement GoString methods
for #13
- Loading branch information
Tim Cooper
committed
May 12, 2018
1 parent
7dfcd05
commit dbb5905
Showing
2 changed files
with
119 additions
and
1 deletion.
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,9 @@ | ||
package dictionary | ||
|
||
func Int(i int) *int { | ||
return &i | ||
} | ||
|
||
func Bool(b bool) *bool { | ||
return &b | ||
} |