Skip to content

Commit

Permalink
go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
aceld committed Apr 16, 2024
1 parent 71b74c6 commit 6d83c3b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion file/config_export.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/aceld/kis-flow/common"
"github.com/aceld/kis-flow/kis"

"gopkg.in/yaml.v3"
yaml "gopkg.in/yaml.v3"
)

// ConfigExportYaml exports the flow configuration and saves it locally
Expand Down
2 changes: 0 additions & 2 deletions kis/faas.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@ func NewFaaSDesc(fnName string, f FaaS) (*FaaSDesc, error) {
// If the current parameter does not implement the Serialize interface, use the default serialization implementation
serializeImpl = defaultSerialize // Use global default implementation
}
} else {
// Other types are not supported
}

// Append the current parameter type to the argsType collection
Expand Down
3 changes: 1 addition & 2 deletions kis/function.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ import (
"github.com/aceld/kis-flow/config"
)

// Function is the basic computation unit of streaming computation. KisFunction is a basic logical unit of streaming computation,
// any number of KisFunctions can be combined into a KisFlow
// Function is the basic computation unit of streaming computation. KisFunction is a basic logical unit of streaming computation, any number of KisFunctions can be combined into a KisFlow
type Function interface {
// Call executes the streaming computation logic
Call(ctx context.Context, flow Flow) error
Expand Down

0 comments on commit 6d83c3b

Please sign in to comment.