aboutsummaryrefslogtreecommitdiff
path: root/content/constants/syntax.go
diff options
context:
space:
mode:
Diffstat (limited to 'content/constants/syntax.go')
-rw-r--r--content/constants/syntax.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/content/constants/syntax.go b/content/constants/syntax.go
new file mode 100644
index 0000000..16e7e64
--- /dev/null
+++ b/content/constants/syntax.go
@@ -0,0 +1,14 @@
+// +build OMIT
+
+package main
+
+import "fmt"
+
+func main() {
+ // START OMIT
+ fmt.Printf("%T %v\n", 0, 0)
+ fmt.Printf("%T %v\n", 0.0, 0.0)
+ fmt.Printf("%T %v\n", 'x', 'x')
+ fmt.Printf("%T %v\n", 0i, 0i)
+ // STOP OMIT
+}