@@ -38,10 +38,6 @@ You can also use the :manual:`DNS Seed List Connection Format
3838want more flexibility of deployment and the ability to change the
3939servers in rotation without reconfiguring clients.
4040
41- .. note::
42-
43- To learn how to retrieve your connection string in Atlas, see the :ref:`Quick Start guide <golang-connect-to-your-cluster>`.
44-
4541The next part of the connection string contains your username and, if
4642you are using password-based authentication, your password. Replace the value of
4743``user`` with your username and ``pass`` with your password. If you are using an
@@ -66,8 +62,10 @@ your connections and runs database commands.
6662
6763You can create a client that uses your connection string and other
6864client options by passing a ``ClientOptions`` object to the ``Connect()``
69- method. To specify your connection URI, pass it to the ``ApplyURI()``
70- method, creating a ``ClientOptions`` instance. To set any other
65+ method.
66+
67+ To specify your connection URI, pass it to the ``ApplyURI()``
68+ method, which returns a new ``ClientOptions`` instance. To set any other
7169options, call the relevant helper method from the ``options`` package.
7270
7371To learn more about connection options, see the
@@ -80,13 +78,18 @@ breaking changes when you upgrade to a new server version. To
8078learn more about the {+stable-api+} feature, see the :ref:`{+stable-api+} page
8179<golang-stable-api>`.
8280
83- The following code shows how you can create a client that uses your
81+ The following code shows how you can create a client that uses an Atlas
8482connection string and the {+stable-api+} version, connect to MongoDB, and
8583verify that the connection is successful:
8684
8785.. literalinclude:: /includes/fundamentals/code-snippets/srv.go
8886 :language: go
8987
88+ .. tip::
89+
90+ Follow the :ref:`Quick Start guide <golang-connect-to-your-cluster>`
91+ to retrieve your Atlas connection string.
92+
9093.. note::
9194
9295 To learn about connecting to Atlas Serverless, see the
0 commit comments