Created
August 1, 2022 05:32
-
-
Save NickSablukov/9fa4428ddb96d706cdd6b7991b0261ce to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func (b *MosaicBuilder) Build() error { | |
b.logger.Println("Load parts paths ...") | |
partsPaths, err := b.getPartsPaths() | |
if err != nil { | |
return err | |
} | |
b.logger.Println("Load parts map ...") | |
partsMap, err := b.getPartsMap(partsPaths) | |
if err != nil { | |
return err | |
} | |
return nil | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment