Skip to content

Commit 567a640

Browse files
author
shuaiyang5
committed
style: run go fmt across all Go files for CI compliance
- Format all Go source files with go fmt - Standardize import order and formatting - Ensure code passes CI linting checks
1 parent 01c0fe3 commit 567a640

66 files changed

Lines changed: 71 additions & 71 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

agentbridge

9.09 MB
Binary file not shown.

cmd/common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package cmd
22

33
import (
4-
"github.com/iflytek/agentbridge/internal/models"
54
"fmt"
5+
"github.com/iflytek/agentbridge/internal/models"
66
"os"
77
"path/filepath"
88
"runtime"

core/services/conversion_service.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
package services
22

33
import (
4+
"context"
5+
"fmt"
46
"github.com/iflytek/agentbridge/core/interfaces"
57
"github.com/iflytek/agentbridge/internal/models"
68
"github.com/iflytek/agentbridge/platforms/common"
7-
"context"
8-
"fmt"
99
)
1010

1111
// ConversionService orchestrates DSL conversion between platforms.

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ import "github.com/iflytek/agentbridge/cmd"
44

55
func main() {
66
cmd.Execute()
7-
}
7+
}

platforms/common/dsl_validator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package common
22

33
import (
4-
"github.com/iflytek/agentbridge/internal/models"
54
"fmt"
5+
"github.com/iflytek/agentbridge/internal/models"
66
)
77

88
// UnifiedDSLValidator validates unified DSL structures

platforms/common/generator_utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package common
22

33
import (
4-
"github.com/iflytek/agentbridge/internal/models"
54
"fmt"
5+
"github.com/iflytek/agentbridge/internal/models"
66
"math/rand"
77
"strings"
88
"time"

platforms/common/unified_id_mapper.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
package common
22

33
import (
4-
"github.com/iflytek/agentbridge/core/interfaces"
5-
"github.com/iflytek/agentbridge/internal/models"
64
"crypto/rand"
75
"fmt"
6+
"github.com/iflytek/agentbridge/core/interfaces"
7+
"github.com/iflytek/agentbridge/internal/models"
88
"sync"
99
"time"
1010
)

platforms/coze/generator/classifier_node_generator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package generator
22

33
import (
4+
"fmt"
45
"github.com/iflytek/agentbridge/internal/models"
56
"github.com/iflytek/agentbridge/platforms/common"
6-
"fmt"
77
"strings"
88
)
99

platforms/coze/generator/code_node_generator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package generator
22

33
import (
4+
"fmt"
45
"github.com/iflytek/agentbridge/internal/models"
56
"github.com/iflytek/agentbridge/platforms/common"
6-
"fmt"
77
"regexp"
88
"strconv"
99
"strings"

platforms/coze/generator/condition_node_generator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package generator
22

33
import (
4+
"fmt"
45
"github.com/iflytek/agentbridge/internal/models"
56
"github.com/iflytek/agentbridge/platforms/common"
6-
"fmt"
77
)
88

99
// ConditionNodeGenerator generates Coze condition nodes (selectors)

0 commit comments

Comments
 (0)