Skip to content

Commit

Permalink
fix comment typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tiezhuli001 committed Jun 5, 2024
1 parent 82557b2 commit 504b81e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions cmd/xgo/runtime_gen/core/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
)

const VERSION = "1.0.39"
const REVISION = "76a6e214b64ed97910c12e1b9c40dce905bc13ff+1"
const NUMBER = 261
const REVISION = "82557b214da44c505e64dc3a6491dfedaf4bd3a4+1"
const NUMBER = 262

// these fields will be filled by compiler
const XGO_VERSION = ""
Expand Down
4 changes: 2 additions & 2 deletions cmd/xgo/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package main
import "fmt"

const VERSION = "1.0.39"
const REVISION = "76a6e214b64ed97910c12e1b9c40dce905bc13ff+1"
const NUMBER = 261
const REVISION = "82557b214da44c505e64dc3a6491dfedaf4bd3a4+1"
const NUMBER = 262

func getRevision() string {
revSuffix := ""
Expand Down
4 changes: 2 additions & 2 deletions runtime/core/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
)

const VERSION = "1.0.39"
const REVISION = "76a6e214b64ed97910c12e1b9c40dce905bc13ff+1"
const NUMBER = 261
const REVISION = "82557b214da44c505e64dc3a6491dfedaf4bd3a4+1"
const NUMBER = 262

// these fields will be filled by compiler
const XGO_VERSION = ""
Expand Down
2 changes: 1 addition & 1 deletion support/netutil/netutil.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func GetHostAndIP(bindStr string, portStr string) (host string, port int) {
if localIPs == nil {
return
}
// add defaut router
// add default router
localIPs = append(localIPs, []string{"0.0.0.0", "::"}...)
for _, localIP := range localIPs {
if localIP == bindStr {
Expand Down

0 comments on commit 504b81e

Please sign in to comment.