Merge branch 'master' into processconflict

This commit is contained in:
kingeasternsun 2021-10-27 10:33:36 +08:00 committed by GitHub
commit ded94276a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1153 changed files with 14742 additions and 13811 deletions

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/container/garray" "github.com/gogf/gf/v2/container/garray"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/gogf/gf/container/garray" "github.com/gogf/gf/v2/container/garray"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/gogf/gf/container/garray" "github.com/gogf/gf/v2/container/garray"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/container/garray" "github.com/gogf/gf/v2/container/garray"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/container/garray" "github.com/gogf/gf/v2/container/garray"
) )
func main() { func main() {

View File

@ -2,7 +2,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/container/glist" "github.com/gogf/gf/v2/container/glist"
) )
func main() { func main() {

View File

@ -3,8 +3,8 @@ package main
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/gogf/gf/container/glist" "github.com/gogf/gf/v2/container/glist"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/gogf/gf/container/glist" "github.com/gogf/gf/v2/container/glist"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/container/gmap" "github.com/gogf/gf/v2/container/gmap"
) )
func main() { func main() {

View File

@ -3,9 +3,9 @@ package main
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/container/gmap" "github.com/gogf/gf/v2/container/gmap"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/gogf/gf/container/gmap" "github.com/gogf/gf/v2/container/gmap"
) )
func main() { func main() {

View File

@ -1,8 +1,8 @@
package main package main
import ( import (
"github.com/gogf/gf/container/gmap" "github.com/gogf/gf/v2/container/gmap"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -3,9 +3,9 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/container/gmap" "github.com/gogf/gf/v2/container/gmap"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/util/gutil" "github.com/gogf/gf/v2/util/gutil"
) )
func main() { func main() {

View File

@ -3,8 +3,8 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/container/gmap" "github.com/gogf/gf/v2/container/gmap"
"github.com/gogf/gf/util/gutil" "github.com/gogf/gf/v2/util/gutil"
) )
func main() { func main() {

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/gogf/gf/container/gpool" "github.com/gogf/gf/v2/container/gpool"
) )
func main() { func main() {

View File

@ -4,9 +4,9 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/gogf/gf/container/gpool" "github.com/gogf/gf/v2/container/gpool"
"github.com/gogf/gf/net/gtcp" "github.com/gogf/gf/v2/net/gtcp"
"github.com/gogf/gf/os/glog" "github.com/gogf/gf/v2/os/glog"
) )
func main() { func main() {

View File

@ -4,9 +4,9 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/gogf/gf/container/gqueue" "github.com/gogf/gf/v2/container/gqueue"
"github.com/gogf/gf/os/gtime" "github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/os/gtimer" "github.com/gogf/gf/v2/os/gtimer"
) )
func main() { func main() {

View File

@ -4,8 +4,8 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/gogf/gf/container/gqueue" "github.com/gogf/gf/v2/container/gqueue"
"github.com/gogf/gf/os/gtimer" "github.com/gogf/gf/v2/os/gtimer"
) )
func main() { func main() {

View File

@ -4,9 +4,9 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/gogf/gf/container/gqueue" "github.com/gogf/gf/v2/container/gqueue"
"github.com/gogf/gf/os/gtime" "github.com/gogf/gf/v2/os/gtime"
"github.com/gogf/gf/os/gtimer" "github.com/gogf/gf/v2/os/gtimer"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/container/gring" "github.com/gogf/gf/v2/container/gring"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/container/gring" "github.com/gogf/gf/v2/container/gring"
) )
type Player struct { type Player struct {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/container/gset" "github.com/gogf/gf/v2/container/gset"
) )
func main() { func main() {

View File

@ -3,8 +3,8 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/container/gset" "github.com/gogf/gf/v2/container/gset"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/gogf/gf/container/gset" "github.com/gogf/gf/v2/container/gset"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/gogf/gf/container/gset" "github.com/gogf/gf/v2/container/gset"
) )
func main() { func main() {

View File

@ -3,8 +3,8 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/container/gtree" "github.com/gogf/gf/v2/container/gtree"
"github.com/gogf/gf/util/gutil" "github.com/gogf/gf/v2/util/gutil"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/container/gtree" "github.com/gogf/gf/v2/container/gtree"
) )
func main() { func main() {

View File

@ -3,8 +3,8 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/container/gtree" "github.com/gogf/gf/v2/container/gtree"
"github.com/gogf/gf/util/gutil" "github.com/gogf/gf/v2/util/gutil"
) )
func main() { func main() {

View File

@ -1,7 +1,7 @@
package main package main
import ( import (
"github.com/gogf/gf/container/gtree" "github.com/gogf/gf/v2/container/gtree"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/container/gtype" "github.com/gogf/gf/v2/container/gtype"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/gogf/gf/container/gtype" "github.com/gogf/gf/v2/container/gtype"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/gogf/gf/container/gtype" "github.com/gogf/gf/v2/container/gtype"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -3,8 +3,8 @@ package driver
import ( import (
"context" "context"
"database/sql" "database/sql"
"github.com/gogf/gf/database/gdb" "github.com/gogf/gf/v2/database/gdb"
"github.com/gogf/gf/os/gtime" "github.com/gogf/gf/v2/os/gtime"
) )
// MyDriver is a custom database driver, which is used for testing only. // MyDriver is a custom database driver, which is used for testing only.

View File

@ -2,10 +2,10 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/os/gtime" "github.com/gogf/gf/v2/os/gtime"
_ "github.com/denisenkom/go-mssqldb" _ "github.com/denisenkom/go-mssqldb"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -5,8 +5,8 @@ import (
"time" "time"
//_ "github.com/denisenkom/go-mssqldb" //_ "github.com/denisenkom/go-mssqldb"
"github.com/gogf/gf/database/gdb" "github.com/gogf/gf/v2/database/gdb"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
// 本文件用于gf框架的mssql数据库操作示例不作为单元测试使用 // 本文件用于gf框架的mssql数据库操作示例不作为单元测试使用

View File

@ -1,8 +1,8 @@
package main package main
import ( import (
"github.com/gogf/gf/database/gdb" "github.com/gogf/gf/v2/database/gdb"
"github.com/gogf/gf/os/gctx" "github.com/gogf/gf/v2/os/gctx"
"sync" "sync"
"time" "time"
) )

View File

@ -2,8 +2,8 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/os/gctx" "github.com/gogf/gf/v2/os/gctx"
) )
func main() { func main() {

View File

@ -1,8 +1,8 @@
package main package main
import ( import (
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/os/gctx" "github.com/gogf/gf/v2/os/gctx"
) )
func main() { func main() {

View File

@ -2,8 +2,8 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/os/gctx" "github.com/gogf/gf/v2/os/gctx"
) )
func main() { func main() {

View File

@ -2,11 +2,11 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/os/gctx" "github.com/gogf/gf/v2/os/gctx"
"github.com/gogf/gf/crypto/gaes" "github.com/gogf/gf/v2/crypto/gaes"
"github.com/gogf/gf/database/gdb" "github.com/gogf/gf/v2/database/gdb"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -2,9 +2,9 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/os/gctx" "github.com/gogf/gf/v2/os/gctx"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -1,9 +1,9 @@
package main package main
import ( import (
"github.com/gogf/gf/database/gdb" "github.com/gogf/gf/v2/database/gdb"
"github.com/gogf/gf/os/gctx" "github.com/gogf/gf/v2/os/gctx"
"github.com/gogf/gf/util/gutil" "github.com/gogf/gf/v2/util/gutil"
"time" "time"
) )

View File

@ -1,7 +1,7 @@
package main package main
import ( import (
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -2,7 +2,7 @@ package main
import ( import (
"context" "context"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -2,7 +2,7 @@ package main
import ( import (
"context" "context"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -2,10 +2,10 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/os/gctx" "github.com/gogf/gf/v2/os/gctx"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/os/gtime" "github.com/gogf/gf/v2/os/gtime"
) )
func main() { func main() {

View File

@ -1,10 +1,10 @@
package main package main
import ( import (
"github.com/gogf/gf/database/gdb" "github.com/gogf/gf/v2/database/gdb"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/os/gctx" "github.com/gogf/gf/v2/os/gctx"
"github.com/gogf/gf/os/glog" "github.com/gogf/gf/v2/os/glog"
) )
func main() { func main() {

View File

@ -1,8 +1,8 @@
package main package main
import ( import (
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/os/gctx" "github.com/gogf/gf/v2/os/gctx"
) )
func main() { func main() {

View File

@ -1,7 +1,7 @@
package main package main
import ( import (
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -2,8 +2,8 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/database/gdb" "github.com/gogf/gf/v2/database/gdb"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
var ( var (

View File

@ -2,11 +2,11 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/os/gctx" "github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/os/gctx"
"github.com/gogf/gf/database/gdb" "github.com/gogf/gf/v2/database/gdb"
"github.com/gogf/gf/encoding/gparser" "github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/frame/g"
) )
func main() { func main() {
@ -34,8 +34,8 @@ func main() {
fmt.Println(one.Xml()) fmt.Println(one.Xml())
// 自定义方法方法转换为json/xml // 自定义方法方法转换为json/xml
jsonContent, _ := gparser.VarToJson(one.Map()) jsonContent, _ := gjson.New(one.Map()).ToJson()
fmt.Println(string(jsonContent)) fmt.Println(string(jsonContent))
xmlContent, _ := gparser.VarToXml(one.Map()) xmlContent, _ := gjson.New(one.Map()).ToJson()
fmt.Println(string(xmlContent)) fmt.Println(string(xmlContent))
} }

View File

@ -1,10 +1,10 @@
package main package main
import ( import (
"github.com/gogf/gf/os/gctx" "github.com/gogf/gf/v2/os/gctx"
"time" "time"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -2,8 +2,8 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/os/gctx" "github.com/gogf/gf/v2/os/gctx"
"time" "time"
) )

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -1,8 +1,8 @@
package main package main
import ( import (
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/os/gctx" "github.com/gogf/gf/v2/os/gctx"
) )
func main() { func main() {

View File

@ -1,8 +1,8 @@
package main package main
import ( import (
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/os/gctx" "github.com/gogf/gf/v2/os/gctx"
) )
func main() { func main() {

View File

@ -1,7 +1,7 @@
package main package main
import ( import (
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -2,9 +2,9 @@ package main
import ( import (
"context" "context"
"github.com/gogf/gf/database/gdb" "github.com/gogf/gf/v2/database/gdb"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/os/gctx" "github.com/gogf/gf/v2/os/gctx"
) )
func main() { func main() {

View File

@ -1,7 +1,7 @@
package main package main
import ( import (
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -3,10 +3,10 @@ package main
import ( import (
"database/sql" "database/sql"
"github.com/gogf/gf/os/gfile" "github.com/gogf/gf/v2/os/gfile"
"github.com/gogf/gf/encoding/gjson" "github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -2,7 +2,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -3,10 +3,10 @@ package main
import ( import (
"context" "context"
"fmt" "fmt"
"github.com/gogf/gf/database/gdb" "github.com/gogf/gf/v2/database/gdb"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/os/gctx" "github.com/gogf/gf/v2/os/gctx"
"github.com/gogf/gf/util/gmeta" "github.com/gogf/gf/v2/util/gmeta"
) )
func main() { func main() {

View File

@ -1,8 +1,8 @@
package main package main
import ( import (
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/util/gmeta" "github.com/gogf/gf/v2/util/gmeta"
) )
func main() { func main() {

View File

@ -1,7 +1,7 @@
package main package main
import ( import (
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
"time" "time"
) )

View File

@ -5,8 +5,8 @@ import (
"time" "time"
//_ "github.com/mattn/go-oci8" //_ "github.com/mattn/go-oci8"
"github.com/gogf/gf/database/gdb" "github.com/gogf/gf/v2/database/gdb"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
// 本文件用于gf框架的mysql数据库操作示例不作为单元测试使用 // 本文件用于gf框架的mysql数据库操作示例不作为单元测试使用

View File

@ -3,8 +3,8 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/database/gdb" "github.com/gogf/gf/v2/database/gdb"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
_ "github.com/mattn/go-sqlite3" _ "github.com/mattn/go-sqlite3"
) )

View File

@ -3,8 +3,8 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/database/gredis" "github.com/gogf/gf/v2/database/gredis"
"github.com/gogf/gf/util/gconv" "github.com/gogf/gf/v2/util/gconv"
) )
// 使用原生gredis.New操作redis但是注意需要自己调用Close方法关闭redis链接池 // 使用原生gredis.New操作redis但是注意需要自己调用Close方法关闭redis链接池

View File

@ -3,8 +3,8 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/util/gconv" "github.com/gogf/gf/v2/util/gconv"
) )
// 使用框架封装的g.Redis()方法获得redis操作对象单例不需要开发者显示调用Close方法 // 使用框架封装的g.Redis()方法获得redis操作对象单例不需要开发者显示调用Close方法

View File

@ -3,8 +3,8 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/util/gconv" "github.com/gogf/gf/v2/util/gconv"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -3,8 +3,8 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/util/gconv" "github.com/gogf/gf/v2/util/gconv"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -3,8 +3,8 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/util/gconv" "github.com/gogf/gf/v2/util/gconv"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -2,7 +2,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/debug/gdebug" "github.com/gogf/gf/v2/debug/gdebug"
) )
func main() { func main() {

View File

@ -2,7 +2,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/debug/gdebug" "github.com/gogf/gf/v2/debug/gdebug"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package gbase64
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/encoding/gbase64" "github.com/gogf/gf/v2/encoding/gbase64"
) )
func main() { func main() {

View File

@ -3,8 +3,8 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/encoding/gbinary" "github.com/gogf/gf/v2/encoding/gbinary"
"github.com/gogf/gf/os/glog" "github.com/gogf/gf/v2/os/glog"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/encoding/gbinary" "github.com/gogf/gf/v2/encoding/gbinary"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/encoding/gbinary" "github.com/gogf/gf/v2/encoding/gbinary"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/encoding/gcharset" "github.com/gogf/gf/v2/encoding/gcharset"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/encoding/gcompress" "github.com/gogf/gf/v2/encoding/gcompress"
) )
func main() { func main() {

View File

@ -3,8 +3,8 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/encoding/gcompress" "github.com/gogf/gf/v2/encoding/gcompress"
"github.com/gogf/gf/os/gfile" "github.com/gogf/gf/v2/os/gfile"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"archive/zip" "archive/zip"
"fmt" "fmt"
"github.com/gogf/gf/encoding/gcompress" "github.com/gogf/gf/v2/encoding/gcompress"
"io" "io"
"os" "os"
"path/filepath" "path/filepath"

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"strconv" "strconv"
"github.com/gogf/gf/encoding/ghash" "github.com/gogf/gf/v2/encoding/ghash"
) )
func main() { func main() {

View File

@ -2,7 +2,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/encoding/gini" "github.com/gogf/gf/v2/encoding/gini"
) )
func main() { func main() {

View File

@ -3,9 +3,9 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/encoding/gjson" "github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/os/glog" "github.com/gogf/gf/v2/os/glog"
"github.com/gogf/gf/os/gtime" "github.com/gogf/gf/v2/os/gtime"
) )
func getByPattern() { func getByPattern() {

View File

@ -4,7 +4,7 @@ import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"github.com/gogf/gf/encoding/gjson" "github.com/gogf/gf/v2/encoding/gjson"
) )
type XinYanModel struct { type XinYanModel struct {

View File

@ -1,9 +1,9 @@
package main package main
import ( import (
"github.com/gogf/gf/encoding/gjson" "github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/frame/g" "github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/os/glog" "github.com/gogf/gf/v2/os/glog"
) )
type GameUser struct { type GameUser struct {

View File

@ -2,7 +2,7 @@ package main
import ( import (
"fmt" "fmt"
"github.com/gogf/gf/encoding/gjson" "github.com/gogf/gf/v2/encoding/gjson"
) )
func main() { func main() {

View File

@ -1,44 +0,0 @@
broker:
ip: "127.0.0.1"
tcpport: "4222"
httpport: "8222"
user: "alfxnats"
pwd: "alfxnats"
clusterid: "alfxnats"
database:
ip: "110.1.1.227"
port: "27017"
user: "alfxdev"
pwd: "alfxdev"
dbname: "alfxdev"
scheduler:
a2rparallel: 4
sleeptime: 300
worker:
name: "worker1"
domains:
officenet: 3
producnet: 3
free: 3
temppath: "/home/alfx/proc"
common:
filepath: "/home/alfx/file"
logpath: "home/alfx/log"
logdebug: true
logtrace: true
report:
localip: "127.0.0.1"
localport: ""

Some files were not shown because too many files have changed in this diff Show More