Skip to content

Commit aa5f133

Browse files
vojtabiberleclaude
andcommitted
DMD-919 - Move type aliases to top of types.go
Move configparser type aliases to after imports per code review feedback. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 1cbcae3 commit aa5f133

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

internal/pkg/llm/twinformat/types.go

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ import (
99
"github.com/keboola/keboola-as-code/internal/pkg/llm/twinformat/configparser"
1010
)
1111

12+
// Type aliases for types defined in configparser package.
13+
type (
14+
TransformationConfig = configparser.TransformationConfig
15+
StorageMapping = configparser.StorageMapping
16+
CodeBlock = configparser.CodeBlock
17+
Code = configparser.Code
18+
ComponentConfig = configparser.ComponentConfig
19+
)
20+
1221
// ProjectData holds all fetched data from Keboola APIs.
1322
type ProjectData struct {
1423
ProjectID keboola.ProjectID
@@ -220,15 +229,6 @@ type LineageMetaData struct {
220229
Updated string `json:"updated"`
221230
}
222231

223-
// Type aliases for types defined in configparser package.
224-
type (
225-
TransformationConfig = configparser.TransformationConfig
226-
StorageMapping = configparser.StorageMapping
227-
CodeBlock = configparser.CodeBlock
228-
Code = configparser.Code
229-
ComponentConfig = configparser.ComponentConfig
230-
)
231-
232232
// DocFields represents the standard documentation fields for JSON files.
233233
type DocFields struct {
234234
Comment string `json:"_comment"`

0 commit comments

Comments
 (0)