mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-07-09 13:18:46 +00:00
GitHub Action CI: Add Go source file format check (#6090)
https://github.com/XTLS/Xray-core/pull/6057#issuecomment-4364819830 And https://github.com/XTLS/Xray-core/pull/6149#issuecomment-4546876261
This commit is contained in:
committed by
GitHub
parent
ca4b156b57
commit
d43a808ea5
@@ -21,8 +21,10 @@ func init() {
|
||||
cmdX25519.Run = executeX25519 // break init loop
|
||||
}
|
||||
|
||||
var input_stdEncoding = cmdX25519.Flag.Bool("std-encoding", false, "")
|
||||
var input_x25519 = cmdX25519.Flag.String("i", "", "")
|
||||
var (
|
||||
input_stdEncoding = cmdX25519.Flag.Bool("std-encoding", false, "")
|
||||
input_x25519 = cmdX25519.Flag.String("i", "", "")
|
||||
)
|
||||
|
||||
func executeX25519(cmd *base.Command, args []string) {
|
||||
Curve25519Genkey(false, *input_x25519)
|
||||
|
||||
Reference in New Issue
Block a user