fix: 修复typeOfSession编译错误

main
NorthLan 2 years ago
parent bac4f410ad
commit c2975beda7

@ -1,6 +1,7 @@
package component
import (
"git.noahlan.cn/northlan/ngs/session"
"reflect"
"unicode"
"unicode/utf8"
@ -9,7 +10,7 @@ import (
var (
typeOfError = reflect.TypeOf((*error)(nil)).Elem()
typeOfBytes = reflect.TypeOf(([]byte)(nil))
//typeOfSession = reflect.TypeOf(session.New(nil))
typeOfSession = reflect.TypeOf(session.New(nil))
)
func isExported(name string) bool {

@ -19,9 +19,6 @@ import (
var running int32
// VERSION returns current ngs version
var VERSION = "0.1.0"
var (
// app represents the current server process
app = &struct {

@ -0,0 +1,4 @@
package ngs
// VERSION returns current ngs version
const VERSION = "0.1.1"
Loading…
Cancel
Save