modify comments
This commit is contained in:
@@ -14,7 +14,7 @@ var (
|
||||
Container = &RequestIdContainer{}
|
||||
)
|
||||
|
||||
// InitializeRequestIdGenerator initialized the current request id generator according to the config
|
||||
// InitializeRequestIdGenerator initializes the current request id generator according to the config
|
||||
func InitializeRequestIdGenerator(config *settings.Config) error {
|
||||
generator, err := NewDefaultRequestIdGenerator(config)
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ var (
|
||||
Container = &UuidContainer{}
|
||||
)
|
||||
|
||||
// InitializeUuidGenerator initialized the current uuid generator according to the config
|
||||
// InitializeUuidGenerator initializes the current uuid generator according to the config
|
||||
func InitializeUuidGenerator(config *settings.Config) error {
|
||||
if config.UuidGeneratorType == settings.InternalUuidGeneratorType {
|
||||
generator, err := NewInternalUuidGenerator(config)
|
||||
|
||||
Reference in New Issue
Block a user