Skip to content

Commit

Permalink
docs: proper code snippet block name
Browse files Browse the repository at this point in the history
  • Loading branch information
mdelapenya committed Mar 26, 2024
1 parent a74df18 commit c3af31b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docs/modules/weaviate.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,6 @@ import (
Then, you can create a Weaviate client using the Weaviate module:

<!--codeinclude-->
[Get the client](../../modules/weaviate/examples_test.go) inside_block:createClient
[Get the client](../../modules/weaviate/examples_test.go) inside_block:createClientNoModules
[Get the client And Modules](../../modules/weaviate/examples_test.go) inside_block:createClientAndModules
<!--/codeinclude-->
4 changes: 2 additions & 2 deletions modules/weaviate/examples_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func ExampleRunContainer() {
}

func ExampleRunContainer_connectWithClient() {
// createClient {
// createClientNoModules {
ctx := context.Background()

weaviateContainer, err := tcweaviate.RunContainer(ctx, testcontainers.WithImage("semitechnologies/weaviate:1.23.9"))
Expand Down Expand Up @@ -95,7 +95,7 @@ func ExampleRunContainer_connectWithClient() {
}

func ExampleRunContainer_connectWithClientWithModules() {
// createClient {
// createClientAndModules {
ctx := context.Background()

enableModules := []string{
Expand Down

0 comments on commit c3af31b

Please sign in to comment.