modify comments

This commit is contained in:
MaysWind
2020-12-25 23:49:14 +08:00
parent 14b8474192
commit becfb0bed5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ var (
Container = &RequestIdContainer{} 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 { func InitializeRequestIdGenerator(config *settings.Config) error {
generator, err := NewDefaultRequestIdGenerator(config) generator, err := NewDefaultRequestIdGenerator(config)
+1 -1
View File
@@ -15,7 +15,7 @@ var (
Container = &UuidContainer{} 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 { func InitializeUuidGenerator(config *settings.Config) error {
if config.UuidGeneratorType == settings.InternalUuidGeneratorType { if config.UuidGeneratorType == settings.InternalUuidGeneratorType {
generator, err := NewInternalUuidGenerator(config) generator, err := NewInternalUuidGenerator(config)