1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-10-14 13:04:11 -04:00

Style: format code by gofumpt (#1022)

This commit is contained in:
Loyalsoldier
2021-05-20 05:28:52 +08:00
committed by GitHub
parent cf009a4ba2
commit 6f8979d017
87 changed files with 249 additions and 270 deletions

View File

@@ -77,8 +77,7 @@ type CommandFactory interface {
Unmarshal(data []byte) (interface{}, error)
}
type CommandSwitchAccountFactory struct {
}
type CommandSwitchAccountFactory struct{}
func (f *CommandSwitchAccountFactory) Marshal(command interface{}, writer io.Writer) error {
cmd, ok := command.(*protocol.CommandSwitchAccount)