mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-01 00:48:32 +02:00
- 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"`
21 lines
277 B
Go
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)
|
|
}
|
|
}
|
|
}
|