Debian Codegraph @

internal/test/compilecheck/main.go

raw
1 // Copyright (C) MongoDB, Inc. 2023-present.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License"); you may
4 // not use this file except in compliance with the License. You may obtain
5 // a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
6
7 package main
8
9 import (
10 "context"
11 "fmt"
12
13 "go.mongodb.org/mongo-driver/bson"
14 "go.mongodb.org/mongo-driver/mongo"
15 "go.mongodb.org/mongo-driver/mongo/options"
16 )
17
18 func main() {
19 _, _ = mongo.Connect(context.Background(), options.Client())
20 fmt.Println(bson.D{{Key: "key", Value: "value"}})
21 }