Hide boilerplate in snippets.

This commit is contained in:
István Zoltán Szabó
2026-07-21 14:04:28 +02:00
parent 3fecc10c89
commit 4bc89cd833
44 changed files with 46 additions and 64 deletions
@@ -7,12 +7,14 @@ import (
)
func Main() {
// @hide-start
client, err := qdrant.NewClient(&qdrant.Config{
Host: "localhost",
Port: 6334,
})
if err != nil { panic(err) } // @hide
if err != nil { panic(err) }
// @hide-end
client.CreateShardKey(context.Background(), "{collection_name}", &qdrant.CreateShardKey{
ShardKey: qdrant.NewShardKey("{shard_key}"),