[#1431] node: Fix comment format
Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
This commit is contained in:
parent
f6582081a4
commit
d83879d4b8
19 changed files with 30 additions and 30 deletions
|
@ -8,38 +8,38 @@ import (
|
|||
// Record is an interface of read-only
|
||||
// FrostFS LOCODE database single entry.
|
||||
type Record interface {
|
||||
// Must return ISO 3166-1 alpha-2
|
||||
// CountryCode must return ISO 3166-1 alpha-2
|
||||
// country code.
|
||||
//
|
||||
// Must not return nil.
|
||||
CountryCode() *locodedb.CountryCode
|
||||
|
||||
// Must return English short country name
|
||||
// CountryName must return English short country name
|
||||
// officially used by the ISO 3166
|
||||
// Maintenance Agency (ISO 3166/MA).
|
||||
CountryName() string
|
||||
|
||||
// Must return UN/LOCODE 3-character code
|
||||
// LocationCode must return UN/LOCODE 3-character code
|
||||
// for the location (numerals 2-9 may also
|
||||
// be used).
|
||||
//
|
||||
// Must not return nil.
|
||||
LocationCode() *locodedb.LocationCode
|
||||
|
||||
// Must return name of the location which
|
||||
// LocationName must return name of the location which
|
||||
// have been allocated a UN/LOCODE without
|
||||
// diacritic sign.
|
||||
LocationName() string
|
||||
|
||||
// Must return ISO 1-3 character alphabetic
|
||||
// SubDivCode Must return ISO 1-3 character alphabetic
|
||||
// and/or numeric code for the administrative
|
||||
// division of the country concerned.
|
||||
SubDivCode() string
|
||||
|
||||
// Must return subdivision name.
|
||||
// SubDivName must return subdivision name.
|
||||
SubDivName() string
|
||||
|
||||
// Must return existing continent where is
|
||||
// Continent must return existing continent where is
|
||||
// the location.
|
||||
//
|
||||
// Must not return nil.
|
||||
|
@ -49,7 +49,7 @@ type Record interface {
|
|||
// DB is an interface of read-only
|
||||
// FrostFS LOCODE database.
|
||||
type DB interface {
|
||||
// Must find the record that corresponds to
|
||||
// Get must find the record that corresponds to
|
||||
// LOCODE and provides the Record interface.
|
||||
//
|
||||
// Must return an error if Record is nil.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue