Skip to content

Commit dee64f4

Browse files
mirkoCrobumirkoCrobu
authored andcommitted
refactoring var initialization
1 parent e19c21c commit dee64f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/orchestrator/bricks/bricks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func (s *Service) BricksDetails(id string) (BrickDetailsResult, error) {
154154
if err != nil {
155155
return BrickDetailsResult{}, fmt.Errorf("cannot open code examples for brick %s: %w", id, err)
156156
}
157-
var codeExamples = f.Map(examplePaths, func(p *paths.Path) CodeExample {
157+
codeExamples := f.Map(examplePaths, func(p *paths.Path) CodeExample {
158158
return CodeExample{
159159
Path: p.String(),
160160
}

0 commit comments

Comments
 (0)