Created
May 5, 2019 10:34
-
-
Save mkfsn/46126e021a46b4b99a13efe250259cc5 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 被質詢者 interface { | |
回答(問題 string) string | |
} | |
type 韓國瑜 struct {} | |
func (_ *韓國瑜) 回答(問題 string) string { | |
return "高雄發大財" | |
} | |
func main() { | |
fmt.Println((new(韓國瑜)).回答("自經區是什麼?")) | |
fmt.Println((new(韓國瑜)).回答("現行自經區具體內容?")) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment