Created
November 30, 2016 14:09
-
-
Save alicebob/aa17022b6f1d6f8fbf3337e2c178c858 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
package main | |
import ( | |
"fmt" | |
) | |
type KVOp string | |
const ( | |
KVSet KVOp = "set" | |
KVDelete KVOp = "delete" | |
KVDeleteCAS = "delete-cas" | |
KVDeleteTree = "delete-tree" | |
) | |
func main() { | |
fmt.Printf("KVSet: %T\n", KVSet) | |
fmt.Printf("KVDelete: %T\n", KVDelete) | |
fmt.Printf("KVDeleteCAS: %T\n", KVDeleteCAS) | |
fmt.Printf("KVDeleteTree: %T\n", KVDeleteTree) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment