forked from TrueCloudLab/frostfs-sdk-go
[#322] *: Go fmt -s
go1.19 rewrites comments to proper render them in docs. Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
7537fa0dec
commit
84888854ab
69 changed files with 272 additions and 219 deletions
|
@ -2,6 +2,7 @@
|
|||
Package ns provides functionality of NeoFS name system.
|
||||
|
||||
DNS type is designed to resolve NeoFS-related names using Domain Name System:
|
||||
|
||||
const containerName = "some-container"
|
||||
|
||||
var dns DNS
|
||||
|
@ -10,6 +11,7 @@ DNS type is designed to resolve NeoFS-related names using Domain Name System:
|
|||
// ...
|
||||
|
||||
NNS type is designed to resolve NeoFS-related names using Neo Name Service:
|
||||
|
||||
var nns NNS
|
||||
|
||||
err := nns.Dial(nnsServerAddress)
|
||||
|
@ -17,6 +19,5 @@ NNS type is designed to resolve NeoFS-related names using Neo Name Service:
|
|||
|
||||
containerID, err := nns.ResolveContainerName(containerName)
|
||||
// ...
|
||||
|
||||
*/
|
||||
package ns
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue