Skip to content

Instantly share code, notes, and snippets.

@NickSablukov
Created August 1, 2022 05:32
Show Gist options
  • Save NickSablukov/9fa4428ddb96d706cdd6b7991b0261ce to your computer and use it in GitHub Desktop.
Save NickSablukov/9fa4428ddb96d706cdd6b7991b0261ce to your computer and use it in GitHub Desktop.
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