fix: 修复typeOfSession编译错误

main
NorthLan 3 years ago
parent bac4f410ad
commit c2975beda7

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

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

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