Created
July 6, 2015 16:32
-
-
Save ckeyer/72bdd1584233015563c8 to your computer and use it in GitHub Desktop.
闲得DT写的
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
package main | |
import ( | |
"fmt" | |
) | |
type CkString string | |
func (c *CkString) String() string { | |
return fmt.Sprint(c) | |
} | |
func main() { | |
var c CkString = "haha" | |
c.String() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment