summaryrefslogtreecommitdiff
path: root/example_test.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-11-26 03:16:06 -0600
committerJeff Carr <[email protected]>2024-11-26 03:16:06 -0600
commit5d031310474e67e211449c434489ec537cabc51f (patch)
tree1f6ec979fd20ab309873fe4a445ecb5f69bd199f /example_test.go
parente924aa4b7d445dc659a23df032323ee71fa412a3 (diff)
try doc syntax from rill
Diffstat (limited to 'example_test.go')
-rw-r--r--example_test.go17
1 files changed, 17 insertions, 0 deletions
diff --git a/example_test.go b/example_test.go
new file mode 100644
index 0000000..6495a0d
--- /dev/null
+++ b/example_test.go
@@ -0,0 +1,17 @@
+package forgepb_test
+
+import (
+ "fmt"
+)
+
+// --- Package examples ---
+
+// This example is copied from rill to understand golang docs
+func Example() {
+ fmt.Println("nothing here yet")
+}
+
+// This example is copied from rill to understand golang docs
+func Example_batching() {
+ fmt.Println("nothing batching here yet")
+}