Files
landing_page/automation/snippets/templates/go/main.go
T
xzfc cdfbd6538a Snipets tooling update
- update README
- generate-md.py: ignore trailing newlines when complaining about diffs
- all langs: add more dependencies to templates
- all langs: support @hide-start and @hide-end for multi-line hiding
- go: also allow one-line imports
- java: allow declarations other than `main` method
- python, typescript: implement `unshorten` for implicit imports and
  client initialization
- python: add mypy config as `datasets` lacks type py.typed
- python: hide `# mypy:` annotations
- typescript: add tsconfig that allows top-level `await`s
- typescript: depend on @types/node to fix `import ... from "crypto"`
2025-11-28 21:57:13 +00:00

21 lines
277 B
Go

package main
import (
"fmt"
_ "github.com/google/uuid"
_ "github.com/qdrant/go-client/qdrant"
"os"
// %imports%
)
func main() {
for _, arg := range os.Args[1:] {
switch arg {
// %cases%
default:
fmt.Printf("Unknown argument: %s\n", arg)
os.Exit(1)
}
}
}