diff --git a/docs/en/05-develop/01-connect/03-go.md b/docs/en/05-develop/01-connect/03-go.md index 313ae2aedcc951ecf573e455830a398e80fb1684..457583fec9c4e46df0370c87d52af9c77adc0c12 100644 --- a/docs/en/05-develop/01-connect/03-go.md +++ b/docs/en/05-develop/01-connect/03-go.md @@ -7,7 +7,7 @@ pagination_next: develop/insert-data import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; -## Initialize Project +## Initialize Module ``` go mod init tdengine.com/example @@ -70,4 +70,14 @@ Copy code bellow to main.go. {{#include docs/examples/go/connectexample/main.go}} ``` -Then execute `go run main.go` to test the connection. \ No newline at end of file +Then download dependencies by execute command: + +``` +go mod tidy +``` + +Finally, test the connection: + +``` +go run main.go +``` \ No newline at end of file