diff --git a/.travis.yml b/.travis.yml index b2677c9ce..7a4e79a26 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,7 @@ branches: - develop env: -- GITEE_GF=$GOPATH/src/gitee.com/johng/gf GO111MODULE=on +- GITEE_GF=$GOPATH/src/github.com/gogf/gf GO111MODULE=on services: - mysql diff --git a/README.MD b/README.MD index afe2d6fc0..eb3998b99 100644 --- a/README.MD +++ b/README.MD @@ -18,11 +18,11 @@ # Installation ``` -go get -u gitee.com/johng/gf +go get -u github.com/gogf/gf ``` or use `go.mod` ``` -require gitee.com/johng/gf latest +require github.com/gogf/gf latest ``` # Limitation @@ -45,8 +45,8 @@ golang version >= 1.9.2 package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/README_ZH.MD b/README_ZH.MD index be823d7ab..a31784ac8 100644 --- a/README_ZH.MD +++ b/README_ZH.MD @@ -29,12 +29,12 @@ # 安装 ```html -go get -u gitee.com/johng/gf +go get -u github.com/gogf/gf ``` 或者 `go.mod` ``` -require gitee.com/johng/gf latest +require github.com/gogf/gf latest ``` # 限制 ```shell @@ -59,8 +59,8 @@ golang版本 >= 1.9.2 package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/RELEASE.MD b/RELEASE.MD index 7c056eb3a..a1321ac10 100644 --- a/RELEASE.MD +++ b/RELEASE.MD @@ -104,7 +104,7 @@ ## 问题修复 1. 修复`gspath`模块在`windows`下搜索失效问题; 1. 修复`gspath`模块Search时带有indexFiles的检索问题; -1. bug fix INZS1([https://gitee.com/johng/gf/issues/INZS1](https://gitee.com/johng/gf/issues/INZS1)); +1. bug fix INZS1([https://github.com/gogf/gf/issues/INZS1](https://github.com/gogf/gf/issues/INZS1)); 1. 修复`gproc.ShellRun`在windows下的执行问题; @@ -343,8 +343,8 @@ 12、gdb数据库ORM包增加And/Or条件链式方法,并改进Where/Data方法参数灵活性; 13、对于新增加的模块,同时也增加了对应的开发文档,并梳理完善了现有的其他模块开发文档; 14、修复ISSUE: - #IISWI gitee.com/johng/gf/issues/IISWI, - #IISMY gitee.com/johng/gf/issues/IISMY, + #IISWI github.com/gogf/gf/issues/IISWI, + #IISMY github.com/gogf/gf/issues/IISMY, 反馈并跟踪完成第三方依赖mxj包的ISSUE修复(github.com/clbanning/mxj/issues/48); diff --git a/g/container/container.go b/g/container/container.go index 1f95243b5..065333f05 100644 --- a/g/container/container.go +++ b/g/container/container.go @@ -1,7 +1,7 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package container diff --git a/g/container/garray/garray.go b/g/container/garray/garray.go index d3047c5ad..effd62079 100644 --- a/g/container/garray/garray.go +++ b/g/container/garray/garray.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package garray provides kinds of concurrent-safe(alternative) arrays. // diff --git a/g/container/garray/garray_func.go b/g/container/garray/garray_func.go index 9d7a14508..1fbd22663 100644 --- a/g/container/garray/garray_func.go +++ b/g/container/garray/garray_func.go @@ -1,8 +1,8 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package garray diff --git a/g/container/garray/garray_normal_int.go b/g/container/garray/garray_normal_int.go index 22ac3a4a3..3b5451140 100644 --- a/g/container/garray/garray_normal_int.go +++ b/g/container/garray/garray_normal_int.go @@ -1,15 +1,15 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package garray import ( - "gitee.com/johng/gf/g/internal/rwmutex" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/util/grand" + "github.com/gogf/gf/g/internal/rwmutex" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/util/grand" "math" "sort" "strings" diff --git a/g/container/garray/garray_normal_interface.go b/g/container/garray/garray_normal_interface.go index 90c7f54e9..2894d495b 100644 --- a/g/container/garray/garray_normal_interface.go +++ b/g/container/garray/garray_normal_interface.go @@ -1,15 +1,15 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package garray import ( - "gitee.com/johng/gf/g/internal/rwmutex" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/util/grand" + "github.com/gogf/gf/g/internal/rwmutex" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/util/grand" "math" "sort" "strings" diff --git a/g/container/garray/garray_normal_string.go b/g/container/garray/garray_normal_string.go index f41d849d0..b915d2c56 100644 --- a/g/container/garray/garray_normal_string.go +++ b/g/container/garray/garray_normal_string.go @@ -1,15 +1,15 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package garray import ( - "gitee.com/johng/gf/g/internal/rwmutex" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/util/grand" + "github.com/gogf/gf/g/internal/rwmutex" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/util/grand" "math" "sort" "strings" diff --git a/g/container/garray/garray_sorted_int.go b/g/container/garray/garray_sorted_int.go index c7c7f258f..d4f962459 100644 --- a/g/container/garray/garray_sorted_int.go +++ b/g/container/garray/garray_sorted_int.go @@ -1,16 +1,16 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package garray import ( - "gitee.com/johng/gf/g/container/gtype" - "gitee.com/johng/gf/g/internal/rwmutex" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/util/grand" + "github.com/gogf/gf/g/container/gtype" + "github.com/gogf/gf/g/internal/rwmutex" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/util/grand" "math" "sort" "strings" diff --git a/g/container/garray/garray_sorted_interface.go b/g/container/garray/garray_sorted_interface.go index ad6de0b15..ee5830c68 100644 --- a/g/container/garray/garray_sorted_interface.go +++ b/g/container/garray/garray_sorted_interface.go @@ -1,16 +1,16 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package garray import ( - "gitee.com/johng/gf/g/container/gtype" - "gitee.com/johng/gf/g/internal/rwmutex" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/util/grand" + "github.com/gogf/gf/g/container/gtype" + "github.com/gogf/gf/g/internal/rwmutex" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/util/grand" "math" "sort" "strings" diff --git a/g/container/garray/garray_sorted_string.go b/g/container/garray/garray_sorted_string.go index d7b689c19..00f9e3a61 100644 --- a/g/container/garray/garray_sorted_string.go +++ b/g/container/garray/garray_sorted_string.go @@ -1,16 +1,16 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package garray import ( - "gitee.com/johng/gf/g/container/gtype" - "gitee.com/johng/gf/g/internal/rwmutex" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/util/grand" + "github.com/gogf/gf/g/container/gtype" + "github.com/gogf/gf/g/internal/rwmutex" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/util/grand" "math" "sort" "strings" diff --git a/g/container/garray/garray_z_bench_test.go b/g/container/garray/garray_z_bench_test.go index 9954a9293..4bf02e45a 100644 --- a/g/container/garray/garray_z_bench_test.go +++ b/g/container/garray/garray_z_bench_test.go @@ -1,15 +1,15 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" -benchmem package garray_test import ( - "gitee.com/johng/gf/g/container/garray" + "github.com/gogf/gf/g/container/garray" "testing" ) diff --git a/g/container/garray/garray_z_unit_basic_test.go b/g/container/garray/garray_z_unit_basic_test.go index 830225296..d391accea 100644 --- a/g/container/garray/garray_z_unit_basic_test.go +++ b/g/container/garray/garray_z_unit_basic_test.go @@ -1,17 +1,17 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go package garray_test import ( - "gitee.com/johng/gf/g/container/garray" - "gitee.com/johng/gf/g/test/gtest" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/container/garray" + "github.com/gogf/gf/g/test/gtest" + "github.com/gogf/gf/g/util/gconv" "strings" "testing" ) diff --git a/g/container/garray/garray_z_unit_int_test.go b/g/container/garray/garray_z_unit_int_test.go index a0624548a..1a873fc7b 100644 --- a/g/container/garray/garray_z_unit_int_test.go +++ b/g/container/garray/garray_z_unit_int_test.go @@ -1,16 +1,16 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go package garray_test import ( - "gitee.com/johng/gf/g/container/garray" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g/container/garray" + "github.com/gogf/gf/g/test/gtest" "testing" ) diff --git a/g/container/garray/garray_z_unit_interface_test.go b/g/container/garray/garray_z_unit_interface_test.go index a84f13cc2..d84b6ae1a 100644 --- a/g/container/garray/garray_z_unit_interface_test.go +++ b/g/container/garray/garray_z_unit_interface_test.go @@ -1,16 +1,16 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go package garray_test import ( - "gitee.com/johng/gf/g/container/garray" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g/container/garray" + "github.com/gogf/gf/g/test/gtest" "testing" ) diff --git a/g/container/garray/garray_z_unit_string_test.go b/g/container/garray/garray_z_unit_string_test.go index 84b54f352..a116264c2 100644 --- a/g/container/garray/garray_z_unit_string_test.go +++ b/g/container/garray/garray_z_unit_string_test.go @@ -1,17 +1,17 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go package garray_test import ( - "gitee.com/johng/gf/g/container/garray" - "gitee.com/johng/gf/g/test/gtest" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/container/garray" + "github.com/gogf/gf/g/test/gtest" + "github.com/gogf/gf/g/util/gconv" "testing" ) diff --git a/g/container/gchan/gchan.go b/g/container/gchan/gchan.go index 29142ed9c..1ef693fdf 100644 --- a/g/container/gchan/gchan.go +++ b/g/container/gchan/gchan.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gchan provides graceful operations for channel. // @@ -11,7 +11,7 @@ package gchan import ( "errors" - "gitee.com/johng/gf/g/container/gtype" + "github.com/gogf/gf/g/container/gtype" ) type Chan struct { diff --git a/g/container/gchan/gchan_test.go b/g/container/gchan/gchan_test.go index ce6819ce4..2e45dc8b8 100644 --- a/g/container/gchan/gchan_test.go +++ b/g/container/gchan/gchan_test.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" @@ -10,7 +10,7 @@ package gchan_test import ( "testing" - "gitee.com/johng/gf/g/container/gchan" + "github.com/gogf/gf/g/container/gchan" ) var length = 10000000 diff --git a/g/container/glist/glist.go b/g/container/glist/glist.go index 0659047f1..4fe925900 100644 --- a/g/container/glist/glist.go +++ b/g/container/glist/glist.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with l file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // // Package glist provides a concurrent-safe(alternative) doubly linked list. @@ -12,7 +12,7 @@ package glist import ( "container/list" - "gitee.com/johng/gf/g/internal/rwmutex" + "github.com/gogf/gf/g/internal/rwmutex" ) // 变长双向链表 diff --git a/g/container/glist/glist_z_bench_test.go b/g/container/glist/glist_z_bench_test.go index 9228f3992..1867bc22f 100644 --- a/g/container/glist/glist_z_bench_test.go +++ b/g/container/glist/glist_z_bench_test.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" -benchmem diff --git a/g/container/glist/glist_z_unit_test.go b/g/container/glist/glist_z_unit_test.go index b8b8789c4..7cd55dd15 100644 --- a/g/container/glist/glist_z_unit_test.go +++ b/g/container/glist/glist_z_unit_test.go @@ -1,8 +1,8 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package glist diff --git a/g/container/gmap/gmap.go b/g/container/gmap/gmap.go index 8cfe73f40..679d66007 100644 --- a/g/container/gmap/gmap.go +++ b/g/container/gmap/gmap.go @@ -1,15 +1,15 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with gm file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gmap provides kinds of concurrent-safe(alternative) maps. // // 并发安全MAP. package gmap -import "gitee.com/johng/gf/g/internal/rwmutex" +import "github.com/gogf/gf/g/internal/rwmutex" // 注意: // 1、这个Map是所有并发安全Map中效率最低的,如果对效率要求比较高的场合,请合理选择对应数据类型的Map; diff --git a/g/container/gmap/gmap_func.go b/g/container/gmap/gmap_func.go index 299135375..8a6eea0db 100644 --- a/g/container/gmap/gmap_func.go +++ b/g/container/gmap/gmap_func.go @@ -1,8 +1,8 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with gm file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gmap diff --git a/g/container/gmap/gmap_int_bool_map.go b/g/container/gmap/gmap_int_bool_map.go index 94778e7e3..71520e264 100644 --- a/g/container/gmap/gmap_int_bool_map.go +++ b/g/container/gmap/gmap_int_bool_map.go @@ -1,14 +1,14 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with gm file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // package gmap import ( - "gitee.com/johng/gf/g/internal/rwmutex" + "github.com/gogf/gf/g/internal/rwmutex" ) type IntBoolMap struct { diff --git a/g/container/gmap/gmap_int_int_map.go b/g/container/gmap/gmap_int_int_map.go index de71b2a09..67c912109 100644 --- a/g/container/gmap/gmap_int_int_map.go +++ b/g/container/gmap/gmap_int_int_map.go @@ -1,14 +1,14 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with gm file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gmap import ( - "gitee.com/johng/gf/g/internal/rwmutex" + "github.com/gogf/gf/g/internal/rwmutex" ) type IntIntMap struct { diff --git a/g/container/gmap/gmap_int_interface_map.go b/g/container/gmap/gmap_int_interface_map.go index a2da67013..5f30013d2 100644 --- a/g/container/gmap/gmap_int_interface_map.go +++ b/g/container/gmap/gmap_int_interface_map.go @@ -1,15 +1,15 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with gm file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // package gmap import ( - "gitee.com/johng/gf/g/internal/rwmutex" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/internal/rwmutex" + "github.com/gogf/gf/g/util/gconv" ) type IntInterfaceMap struct { diff --git a/g/container/gmap/gmap_int_string_map.go b/g/container/gmap/gmap_int_string_map.go index 737d56fdb..629b0d3e1 100644 --- a/g/container/gmap/gmap_int_string_map.go +++ b/g/container/gmap/gmap_int_string_map.go @@ -1,15 +1,15 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with gm file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gmap import ( - "gitee.com/johng/gf/g/internal/rwmutex" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/internal/rwmutex" + "github.com/gogf/gf/g/util/gconv" ) type IntStringMap struct { diff --git a/g/container/gmap/gmap_string_bool_map.go b/g/container/gmap/gmap_string_bool_map.go index c421412d1..3ccf8892e 100644 --- a/g/container/gmap/gmap_string_bool_map.go +++ b/g/container/gmap/gmap_string_bool_map.go @@ -1,14 +1,14 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with gm file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // package gmap import ( - "gitee.com/johng/gf/g/internal/rwmutex" + "github.com/gogf/gf/g/internal/rwmutex" ) type StringBoolMap struct { diff --git a/g/container/gmap/gmap_string_int_map.go b/g/container/gmap/gmap_string_int_map.go index 71743085c..8cdc80066 100644 --- a/g/container/gmap/gmap_string_int_map.go +++ b/g/container/gmap/gmap_string_int_map.go @@ -1,15 +1,15 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with gm file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // package gmap import ( - "gitee.com/johng/gf/g/internal/rwmutex" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/internal/rwmutex" + "github.com/gogf/gf/g/util/gconv" ) type StringIntMap struct { diff --git a/g/container/gmap/gmap_string_interface_map.go b/g/container/gmap/gmap_string_interface_map.go index 8f9bc438d..875c7b684 100644 --- a/g/container/gmap/gmap_string_interface_map.go +++ b/g/container/gmap/gmap_string_interface_map.go @@ -1,15 +1,15 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with gm file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // package gmap import ( - "gitee.com/johng/gf/g/internal/rwmutex" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/internal/rwmutex" + "github.com/gogf/gf/g/util/gconv" ) type StringInterfaceMap struct { diff --git a/g/container/gmap/gmap_string_string_map.go b/g/container/gmap/gmap_string_string_map.go index d663ec114..35f8a4b47 100644 --- a/g/container/gmap/gmap_string_string_map.go +++ b/g/container/gmap/gmap_string_string_map.go @@ -1,14 +1,14 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with gm file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // package gmap import ( - "gitee.com/johng/gf/g/internal/rwmutex" + "github.com/gogf/gf/g/internal/rwmutex" ) type StringStringMap struct { diff --git a/g/container/gmap/gmap_z_bench_safe_test.go b/g/container/gmap/gmap_z_bench_safe_test.go index c11f830dc..f7289af0b 100644 --- a/g/container/gmap/gmap_z_bench_safe_test.go +++ b/g/container/gmap/gmap_z_bench_safe_test.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with gm file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" -benchmem diff --git a/g/container/gmap/gmap_z_bench_syncmap_test.go b/g/container/gmap/gmap_z_bench_syncmap_test.go index ad7ab4289..b9a516212 100644 --- a/g/container/gmap/gmap_z_bench_syncmap_test.go +++ b/g/container/gmap/gmap_z_bench_syncmap_test.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with gm file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" -benchmem @@ -10,7 +10,7 @@ package gmap_test import ( "testing" - "gitee.com/johng/gf/g/container/gmap" + "github.com/gogf/gf/g/container/gmap" "sync" ) diff --git a/g/container/gmap/gmap_z_bench_unsafe_test.go b/g/container/gmap/gmap_z_bench_unsafe_test.go index afb4d3507..167446d25 100644 --- a/g/container/gmap/gmap_z_bench_unsafe_test.go +++ b/g/container/gmap/gmap_z_bench_unsafe_test.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with gm file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" -benchmem diff --git a/g/container/gpool/gpool.go b/g/container/gpool/gpool.go index b6eda18b0..a687f11a1 100644 --- a/g/container/gpool/gpool.go +++ b/g/container/gpool/gpool.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gpool provides a object-reusable concurrent-safe pool. // @@ -11,10 +11,10 @@ package gpool import ( "errors" - "gitee.com/johng/gf/g/container/glist" - "gitee.com/johng/gf/g/container/gtype" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/os/gtimer" + "github.com/gogf/gf/g/container/glist" + "github.com/gogf/gf/g/container/gtype" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gtimer" "time" ) diff --git a/g/container/gpool/gpool_test.go b/g/container/gpool/gpool_test.go index 2bf318e93..d86172519 100644 --- a/g/container/gpool/gpool_test.go +++ b/g/container/gpool/gpool_test.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" diff --git a/g/container/gqueue/gqueue.go b/g/container/gqueue/gqueue.go index dbb4128e5..c3bb6711b 100644 --- a/g/container/gqueue/gqueue.go +++ b/g/container/gqueue/gqueue.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gqueue provides a dynamic/static concurrent-safe(alternative) queue. // diff --git a/g/container/gqueue/gqueue_bench_test.go b/g/container/gqueue/gqueue_bench_test.go index e55dacec8..403ff22af 100644 --- a/g/container/gqueue/gqueue_bench_test.go +++ b/g/container/gqueue/gqueue_bench_test.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" -benchmem @@ -10,7 +10,7 @@ package gqueue_test import ( "testing" - "gitee.com/johng/gf/g/container/gqueue" + "github.com/gogf/gf/g/container/gqueue" ) var bn = 20000000 diff --git a/g/container/gring/gring.go b/g/container/gring/gring.go index 92df5a60b..2590ac463 100644 --- a/g/container/gring/gring.go +++ b/g/container/gring/gring.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gring provides a concurrent-safe(alternative) ring(circular lists). // @@ -11,8 +11,8 @@ package gring import ( "container/ring" - "gitee.com/johng/gf/g/container/gtype" - "gitee.com/johng/gf/g/internal/rwmutex" + "github.com/gogf/gf/g/container/gtype" + "github.com/gogf/gf/g/internal/rwmutex" ) type Ring struct { diff --git a/g/container/gring/gring_test.go b/g/container/gring/gring_test.go index 8b0667002..433928067 100644 --- a/g/container/gring/gring_test.go +++ b/g/container/gring/gring_test.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" diff --git a/g/container/gset/gset.go b/g/container/gset/gset.go index a9f220a8a..82995005e 100644 --- a/g/container/gset/gset.go +++ b/g/container/gset/gset.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gset provides kinds of concurrent-safe(alternative) sets. // @@ -10,8 +10,8 @@ package gset import ( - "gitee.com/johng/gf/g/internal/rwmutex" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/internal/rwmutex" + "github.com/gogf/gf/g/util/gconv" "strings" ) diff --git a/g/container/gset/gset_int_set.go b/g/container/gset/gset_int_set.go index d0bdc7956..3150736b9 100644 --- a/g/container/gset/gset_int_set.go +++ b/g/container/gset/gset_int_set.go @@ -1,15 +1,15 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // package gset import ( - "gitee.com/johng/gf/g/internal/rwmutex" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/internal/rwmutex" + "github.com/gogf/gf/g/util/gconv" "strings" ) diff --git a/g/container/gset/gset_string_set.go b/g/container/gset/gset_string_set.go index 608928107..bd30ee58d 100644 --- a/g/container/gset/gset_string_set.go +++ b/g/container/gset/gset_string_set.go @@ -1,14 +1,14 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // package gset import ( - "gitee.com/johng/gf/g/internal/rwmutex" + "github.com/gogf/gf/g/internal/rwmutex" "strings" ) diff --git a/g/container/gset/gset_z_bench_test.go b/g/container/gset/gset_z_bench_test.go index 1b9ba9740..e370a3531 100644 --- a/g/container/gset/gset_z_bench_test.go +++ b/g/container/gset/gset_z_bench_test.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" @@ -11,7 +11,7 @@ package gset_test import ( "testing" "strconv" - "gitee.com/johng/gf/g/container/gset" + "github.com/gogf/gf/g/container/gset" ) var ints = gset.NewIntSet() diff --git a/g/container/gset/gset_z_unit_int_test.go b/g/container/gset/gset_z_unit_int_test.go index c7c4642f2..0570652ac 100644 --- a/g/container/gset/gset_z_unit_int_test.go +++ b/g/container/gset/gset_z_unit_int_test.go @@ -1,17 +1,17 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go package gset_test import ( - "gitee.com/johng/gf/g/container/garray" - "gitee.com/johng/gf/g/container/gset" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g/container/garray" + "github.com/gogf/gf/g/container/gset" + "github.com/gogf/gf/g/test/gtest" "testing" ) diff --git a/g/container/gset/gset_z_unit_string_test.go b/g/container/gset/gset_z_unit_string_test.go index 119363850..67a2dadfe 100644 --- a/g/container/gset/gset_z_unit_string_test.go +++ b/g/container/gset/gset_z_unit_string_test.go @@ -1,17 +1,17 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go package gset_test import ( - "gitee.com/johng/gf/g/container/garray" - "gitee.com/johng/gf/g/container/gset" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g/container/garray" + "github.com/gogf/gf/g/container/gset" + "github.com/gogf/gf/g/test/gtest" "testing" ) diff --git a/g/container/gset/gset_z_unit_test.go b/g/container/gset/gset_z_unit_test.go index 3c6dffe2b..a0901a070 100644 --- a/g/container/gset/gset_z_unit_test.go +++ b/g/container/gset/gset_z_unit_test.go @@ -1,17 +1,17 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go package gset_test import ( - "gitee.com/johng/gf/g/container/garray" - "gitee.com/johng/gf/g/container/gset" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g/container/garray" + "github.com/gogf/gf/g/container/gset" + "github.com/gogf/gf/g/test/gtest" "testing" ) diff --git a/g/container/gtype/bool.go b/g/container/gtype/bool.go index 42a47e824..9ae7db583 100644 --- a/g/container/gtype/bool.go +++ b/g/container/gtype/bool.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtype diff --git a/g/container/gtype/byte.go b/g/container/gtype/byte.go index a1b721272..104df712c 100644 --- a/g/container/gtype/byte.go +++ b/g/container/gtype/byte.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtype diff --git a/g/container/gtype/bytes.go b/g/container/gtype/bytes.go index 3cbd6b552..125c92632 100644 --- a/g/container/gtype/bytes.go +++ b/g/container/gtype/bytes.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtype diff --git a/g/container/gtype/float32.go b/g/container/gtype/float32.go index dada43e64..26a5d50b2 100644 --- a/g/container/gtype/float32.go +++ b/g/container/gtype/float32.go @@ -1,14 +1,14 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtype import ( "sync/atomic" - "gitee.com/johng/gf/g/encoding/gbinary" + "github.com/gogf/gf/g/encoding/gbinary" ) type Float32 struct { diff --git a/g/container/gtype/float64.go b/g/container/gtype/float64.go index 7de05311e..59896e7fe 100644 --- a/g/container/gtype/float64.go +++ b/g/container/gtype/float64.go @@ -1,14 +1,14 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtype import ( "sync/atomic" - "gitee.com/johng/gf/g/encoding/gbinary" + "github.com/gogf/gf/g/encoding/gbinary" ) type Float64 struct { diff --git a/g/container/gtype/gtype.go b/g/container/gtype/gtype.go index aa071f90e..85cc324bf 100644 --- a/g/container/gtype/gtype.go +++ b/g/container/gtype/gtype.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gtype provides kinds of high performance, concurrent-safe basic variable types. // diff --git a/g/container/gtype/gtype_test.go b/g/container/gtype/gtype_test.go index 5785b9af0..27e954111 100644 --- a/g/container/gtype/gtype_test.go +++ b/g/container/gtype/gtype_test.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" -benchmem @@ -11,7 +11,7 @@ package gtype import ( "testing" "strconv" - "gitee.com/johng/gf/g/encoding/gbinary" + "github.com/gogf/gf/g/encoding/gbinary" "sync/atomic" ) diff --git a/g/container/gtype/int.go b/g/container/gtype/int.go index 04093e9e9..d8b2f6a4a 100644 --- a/g/container/gtype/int.go +++ b/g/container/gtype/int.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtype diff --git a/g/container/gtype/int32.go b/g/container/gtype/int32.go index ddfc2eff8..c98caa817 100644 --- a/g/container/gtype/int32.go +++ b/g/container/gtype/int32.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtype diff --git a/g/container/gtype/int64.go b/g/container/gtype/int64.go index c5543942e..77f4a37d9 100644 --- a/g/container/gtype/int64.go +++ b/g/container/gtype/int64.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtype diff --git a/g/container/gtype/interface.go b/g/container/gtype/interface.go index 995407fb7..fd606656d 100644 --- a/g/container/gtype/interface.go +++ b/g/container/gtype/interface.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtype diff --git a/g/container/gtype/string.go b/g/container/gtype/string.go index 9221f636f..70b8c8959 100644 --- a/g/container/gtype/string.go +++ b/g/container/gtype/string.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtype diff --git a/g/container/gtype/uint.go b/g/container/gtype/uint.go index b2af0f5c0..4c8286df5 100644 --- a/g/container/gtype/uint.go +++ b/g/container/gtype/uint.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtype diff --git a/g/container/gtype/uint32.go b/g/container/gtype/uint32.go index 7cb2da5c2..6596e3467 100644 --- a/g/container/gtype/uint32.go +++ b/g/container/gtype/uint32.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtype diff --git a/g/container/gtype/uint64.go b/g/container/gtype/uint64.go index ea8ba1431..79d185312 100644 --- a/g/container/gtype/uint64.go +++ b/g/container/gtype/uint64.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtype diff --git a/g/container/gvar/gvar.go b/g/container/gvar/gvar.go index 5d9b8ffe2..dd5064782 100644 --- a/g/container/gvar/gvar.go +++ b/g/container/gvar/gvar.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gvar provides an universal variable type, like generics. // @@ -10,9 +10,9 @@ package gvar import ( - "gitee.com/johng/gf/g/container/gtype" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/container/gtype" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/util/gconv" "time" ) diff --git a/g/container/gvar/gvar_read.go b/g/container/gvar/gvar_read.go index 4b75f250b..0418f6cfd 100644 --- a/g/container/gvar/gvar_read.go +++ b/g/container/gvar/gvar_read.go @@ -1,13 +1,13 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gvar import ( - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gtime" "time" ) diff --git a/g/container/gvar/gvar_z_bench_test.go b/g/container/gvar/gvar_z_bench_test.go index 160bbd9ce..bd2ca2e7e 100644 --- a/g/container/gvar/gvar_z_bench_test.go +++ b/g/container/gvar/gvar_z_bench_test.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" -benchmem diff --git a/g/crypto/crypto.go b/g/crypto/crypto.go index e0faeeeeb..cbad3d077 100644 --- a/g/crypto/crypto.go +++ b/g/crypto/crypto.go @@ -1,7 +1,7 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package crypto diff --git a/g/crypto/gaes/gaes.go b/g/crypto/gaes/gaes.go index 4bbf17a9c..369395165 100644 --- a/g/crypto/gaes/gaes.go +++ b/g/crypto/gaes/gaes.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gaes provides useful API for AES encryption/decryption algorithms. package gaes diff --git a/g/crypto/gcrc32/gcrc32.go b/g/crypto/gcrc32/gcrc32.go index ef11effe3..8ee9f1a99 100644 --- a/g/crypto/gcrc32/gcrc32.go +++ b/g/crypto/gcrc32/gcrc32.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gcrc32 provides useful API for CRC32 encryption/decryption algorithms. package gcrc32 diff --git a/g/crypto/gdes/gdes.go b/g/crypto/gdes/gdes.go index b50289342..0ca8dcb8a 100644 --- a/g/crypto/gdes/gdes.go +++ b/g/crypto/gdes/gdes.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // @author: wenzi1 // Package gdes provides useful API for DES encryption/decryption algorithms. diff --git a/g/crypto/gdes/gdes_test.go b/g/crypto/gdes/gdes_test.go index 48dca7da6..075e7d07b 100644 --- a/g/crypto/gdes/gdes_test.go +++ b/g/crypto/gdes/gdes_test.go @@ -5,7 +5,7 @@ import ( "bytes" "encoding/hex" "fmt" - "gitee.com/johng/gf/g/crypto/gdes" + "github.com/gogf/gf/g/crypto/gdes" ) func TestDesECB(t *testing.T){ diff --git a/g/crypto/gmd5/gmd5.go b/g/crypto/gmd5/gmd5.go index c9eff7ada..aa5fab0a3 100644 --- a/g/crypto/gmd5/gmd5.go +++ b/g/crypto/gmd5/gmd5.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gmd5 provides useful API for MD5 encryption/decryption algorithms. package gmd5 @@ -12,7 +12,7 @@ import ( "fmt" "os" "io" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/util/gconv" ) // 将任意类型的变量进行md5摘要(注意map等非排序变量造成的不同结果) diff --git a/g/crypto/gsha1/gsha1.go b/g/crypto/gsha1/gsha1.go index b233fdb77..8caa35aee 100644 --- a/g/crypto/gsha1/gsha1.go +++ b/g/crypto/gsha1/gsha1.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gsha1 provides useful API for SHA1 encryption/decryption algorithms. package gsha1 @@ -12,7 +12,7 @@ import ( "encoding/hex" "os" "io" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/util/gconv" ) // 将任意类型的变量进行SHA摘要(注意map等非排序变量造成的不同结果) diff --git a/g/database/database.go b/g/database/database.go index 935bcae0e..17dbb4497 100644 --- a/g/database/database.go +++ b/g/database/database.go @@ -1,7 +1,7 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package database diff --git a/g/database/gdb/gdb.go b/g/database/gdb/gdb.go index 68f45bb31..7e5b5bca7 100644 --- a/g/database/gdb/gdb.go +++ b/g/database/gdb/gdb.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gdb provides ORM features for popular relationship databases. // @@ -14,12 +14,12 @@ import ( "database/sql" "errors" "fmt" - "gitee.com/johng/gf/g/container/gring" - "gitee.com/johng/gf/g/container/gtype" - "gitee.com/johng/gf/g/container/gvar" - "gitee.com/johng/gf/g/os/gcache" - "gitee.com/johng/gf/g/util/grand" - _ "gitee.com/johng/gf/third/github.com/go-sql-driver/mysql" + "github.com/gogf/gf/g/container/gring" + "github.com/gogf/gf/g/container/gtype" + "github.com/gogf/gf/g/container/gvar" + "github.com/gogf/gf/g/os/gcache" + "github.com/gogf/gf/g/util/grand" + _ "github.com/gogf/gf/third/github.com/go-sql-driver/mysql" "time" ) diff --git a/g/database/gdb/gdb_base.go b/g/database/gdb/gdb_base.go index 21612d1a6..68ba9a65f 100644 --- a/g/database/gdb/gdb_base.go +++ b/g/database/gdb/gdb_base.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // package gdb @@ -11,11 +11,11 @@ import ( "database/sql" "errors" "fmt" - "gitee.com/johng/gf/g/container/gvar" - "gitee.com/johng/gf/g/os/gcache" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/text/gregex" + "github.com/gogf/gf/g/container/gvar" + "github.com/gogf/gf/g/os/gcache" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/text/gregex" "reflect" "strings" ) diff --git a/g/database/gdb/gdb_batch_result.go b/g/database/gdb/gdb_batch_result.go index ed64f9dd3..c7a9ed666 100644 --- a/g/database/gdb/gdb_batch_result.go +++ b/g/database/gdb/gdb_batch_result.go @@ -1,8 +1,8 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gdb diff --git a/g/database/gdb/gdb_config.go b/g/database/gdb/gdb_config.go index 6598a779e..179fde46f 100644 --- a/g/database/gdb/gdb_config.go +++ b/g/database/gdb/gdb_config.go @@ -1,15 +1,15 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 对常用关系数据库的封装管理包 package gdb import ( "fmt" - "gitee.com/johng/gf/g/container/gring" + "github.com/gogf/gf/g/container/gring" "sync" ) diff --git a/g/database/gdb/gdb_func.go b/g/database/gdb/gdb_func.go index 472f05710..917cbebe4 100644 --- a/g/database/gdb/gdb_func.go +++ b/g/database/gdb/gdb_func.go @@ -1,8 +1,8 @@ -// Copyright 2017-2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017-2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gdb @@ -10,12 +10,12 @@ import ( "bytes" "errors" "fmt" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/text/gregex" - "gitee.com/johng/gf/g/text/gstr" - _ "gitee.com/johng/gf/third/github.com/go-sql-driver/mysql" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/text/gregex" + "github.com/gogf/gf/g/text/gstr" + _ "github.com/gogf/gf/third/github.com/go-sql-driver/mysql" "reflect" "strings" ) diff --git a/g/database/gdb/gdb_model.go b/g/database/gdb/gdb_model.go index f57bbe15c..f4ceec62a 100644 --- a/g/database/gdb/gdb_model.go +++ b/g/database/gdb/gdb_model.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gdb @@ -10,8 +10,8 @@ import ( "fmt" "errors" "database/sql" - "gitee.com/johng/gf/g/util/gconv" - _ "gitee.com/johng/gf/third/github.com/go-sql-driver/mysql" + "github.com/gogf/gf/g/util/gconv" + _ "github.com/gogf/gf/third/github.com/go-sql-driver/mysql" "reflect" "strings" ) diff --git a/g/database/gdb/gdb_mssql.go b/g/database/gdb/gdb_mssql.go index d6e32430b..e4c77bd3c 100644 --- a/g/database/gdb/gdb_mssql.go +++ b/g/database/gdb/gdb_mssql.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. /* @author wenzi1 @date 20181109 @@ -16,7 +16,7 @@ package gdb import ( "database/sql" "fmt" - "gitee.com/johng/gf/g/text/gregex" + "github.com/gogf/gf/g/text/gregex" "strconv" "strings" ) diff --git a/g/database/gdb/gdb_mysql.go b/g/database/gdb/gdb_mysql.go index dc651ac2c..fc3f519e4 100644 --- a/g/database/gdb/gdb_mysql.go +++ b/g/database/gdb/gdb_mysql.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gdb diff --git a/g/database/gdb/gdb_oracle.go b/g/database/gdb/gdb_oracle.go index 8ac1d6537..ceaa6510d 100644 --- a/g/database/gdb/gdb_oracle.go +++ b/g/database/gdb/gdb_oracle.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. /* @author wenzi1 @date 20181026 @@ -16,7 +16,7 @@ package gdb import ( "database/sql" "fmt" - "gitee.com/johng/gf/g/text/gregex" + "github.com/gogf/gf/g/text/gregex" "strconv" "strings" ) diff --git a/g/database/gdb/gdb_pgsql.go b/g/database/gdb/gdb_pgsql.go index 13fc77cad..b9f319075 100644 --- a/g/database/gdb/gdb_pgsql.go +++ b/g/database/gdb/gdb_pgsql.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gdb @@ -15,7 +15,7 @@ import ( // PostgreSQL的适配. // 使用时需要import: -// _ "gitee.com/johng/gf/third/github.com/lib/pq" +// _ "github.com/gogf/gf/third/github.com/lib/pq" // @todo 需要完善replace和save的操作覆盖 // 数据库链接对象 diff --git a/g/database/gdb/gdb_sqlite.go b/g/database/gdb/gdb_sqlite.go index 70029bdc8..93716d07c 100644 --- a/g/database/gdb/gdb_sqlite.go +++ b/g/database/gdb/gdb_sqlite.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // @author wxkj package gdb @@ -12,7 +12,7 @@ import ( ) // 使用时需要import: -// _ "gitee.com/johng/gf/third/github.com/mattn/go-sqlite3" +// _ "github.com/gogf/gf/third/github.com/mattn/go-sqlite3" // Sqlite接口对象 // @author wxkj diff --git a/g/database/gdb/gdb_structure.go b/g/database/gdb/gdb_structure.go index b31dd1d06..190a08fbd 100644 --- a/g/database/gdb/gdb_structure.go +++ b/g/database/gdb/gdb_structure.go @@ -1,16 +1,16 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gdb import ( "fmt" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/text/gregex" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/text/gregex" "strings" ) diff --git a/g/database/gdb/gdb_transaction.go b/g/database/gdb/gdb_transaction.go index 1e4d8bf6f..796a6c0e2 100644 --- a/g/database/gdb/gdb_transaction.go +++ b/g/database/gdb/gdb_transaction.go @@ -1,15 +1,15 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gdb import ( "database/sql" - "gitee.com/johng/gf/g/text/gregex" - _ "gitee.com/johng/gf/third/github.com/go-sql-driver/mysql" + "github.com/gogf/gf/g/text/gregex" + _ "github.com/gogf/gf/third/github.com/go-sql-driver/mysql" ) // 数据库事务对象 diff --git a/g/database/gdb/gdb_type_record.go b/g/database/gdb/gdb_type_record.go index 9a5fec06b..4b71f35d9 100644 --- a/g/database/gdb/gdb_type_record.go +++ b/g/database/gdb/gdb_type_record.go @@ -1,14 +1,14 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gdb import ( - "gitee.com/johng/gf/g/encoding/gparser" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/encoding/gparser" + "github.com/gogf/gf/g/util/gconv" ) // 将记录结果转换为JSON字符串 diff --git a/g/database/gdb/gdb_type_result.go b/g/database/gdb/gdb_type_result.go index b08bdd1ec..9636cbd73 100644 --- a/g/database/gdb/gdb_type_result.go +++ b/g/database/gdb/gdb_type_result.go @@ -1,13 +1,13 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gdb import ( - "gitee.com/johng/gf/g/encoding/gparser" + "github.com/gogf/gf/g/encoding/gparser" ) // 将结果集转换为JSON字符串 diff --git a/g/database/gdb/gdb_unit_0_test.go b/g/database/gdb/gdb_unit_0_test.go index 878250091..0300fa8f0 100644 --- a/g/database/gdb/gdb_unit_0_test.go +++ b/g/database/gdb/gdb_unit_0_test.go @@ -1,8 +1,8 @@ package gdb_test import ( - "gitee.com/johng/gf/g/database/gdb" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g/database/gdb" + "github.com/gogf/gf/g/test/gtest" ) var ( diff --git a/g/database/gdb/gdb_unit_1_test.go b/g/database/gdb/gdb_unit_1_test.go index 326668ae1..e333d0dfc 100644 --- a/g/database/gdb/gdb_unit_1_test.go +++ b/g/database/gdb/gdb_unit_1_test.go @@ -3,9 +3,9 @@ package gdb_test import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/test/gtest" "testing" ) diff --git a/g/database/gdb/gdb_unit_2_test.go b/g/database/gdb/gdb_unit_2_test.go index 99ab07c01..ac0e83922 100644 --- a/g/database/gdb/gdb_unit_2_test.go +++ b/g/database/gdb/gdb_unit_2_test.go @@ -3,9 +3,9 @@ package gdb_test import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/test/gtest" "testing" ) diff --git a/g/database/gdb/gdb_unit_3_test.go b/g/database/gdb/gdb_unit_3_test.go index 063268a26..e73033be0 100644 --- a/g/database/gdb/gdb_unit_3_test.go +++ b/g/database/gdb/gdb_unit_3_test.go @@ -3,9 +3,9 @@ package gdb_test import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/test/gtest" "testing" ) diff --git a/g/database/gkafka/gkafka.go b/g/database/gkafka/gkafka.go index 7d69df6cb..c62d16f00 100644 --- a/g/database/gkafka/gkafka.go +++ b/g/database/gkafka/gkafka.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gkafka provides producer and consumer client for kafka server. // @@ -10,9 +10,9 @@ package gkafka import ( - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/third/github.com/Shopify/sarama" - "gitee.com/johng/gf/third/github.com/johng-cn/sarama-cluster" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/third/github.com/Shopify/sarama" + "github.com/gogf/gf/third/github.com/johng-cn/sarama-cluster" "strings" "time" ) diff --git a/g/database/gkafka/gkafka_message.go b/g/database/gkafka/gkafka_message.go index 3d26621a6..c52e138f4 100644 --- a/g/database/gkafka/gkafka_message.go +++ b/g/database/gkafka/gkafka_message.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gkafka diff --git a/g/database/gredis/gredis.go b/g/database/gredis/gredis.go index 884ed11e4..c665c9a60 100644 --- a/g/database/gredis/gredis.go +++ b/g/database/gredis/gredis.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gredis provides client for redis server. // @@ -12,8 +12,8 @@ package gredis import ( "time" - "gitee.com/johng/gf/third/github.com/gomodule/redigo/redis" - "gitee.com/johng/gf/g/container/gmap" + "github.com/gogf/gf/third/github.com/gomodule/redigo/redis" + "github.com/gogf/gf/g/container/gmap" "fmt" ) diff --git a/g/encoding/encoding.go b/g/encoding/encoding.go index 85f9a3d68..5faed76ca 100644 --- a/g/encoding/encoding.go +++ b/g/encoding/encoding.go @@ -1,7 +1,7 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package encoding diff --git a/g/encoding/gbase64/gbase64.go b/g/encoding/gbase64/gbase64.go index 77eb77ed7..4115c6e83 100644 --- a/g/encoding/gbase64/gbase64.go +++ b/g/encoding/gbase64/gbase64.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gbase64 provides useful API for BASE64 encoding/decoding algorithms. package gbase64 diff --git a/g/encoding/gbinary/gbinary.go b/g/encoding/gbinary/gbinary.go index bfe247fb7..4a133b0d5 100644 --- a/g/encoding/gbinary/gbinary.go +++ b/g/encoding/gbinary/gbinary.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gbinary provides useful API for handling binary/bytes data. package gbinary diff --git a/g/encoding/gcharset/gcharset.go b/g/encoding/gcharset/gcharset.go index 4d3a0c00a..618a87447 100644 --- a/g/encoding/gcharset/gcharset.go +++ b/g/encoding/gcharset/gcharset.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // @author wenzi1 // @date 20180604 @@ -13,7 +13,7 @@ package gcharset import ( - "gitee.com/johng/gf/third/github.com/axgle/mahonia" + "github.com/gogf/gf/third/github.com/axgle/mahonia" "errors" "fmt" ) diff --git a/g/encoding/gcompress/gcompress.go b/g/encoding/gcompress/gcompress.go index 16ad741d0..060c193e6 100644 --- a/g/encoding/gcompress/gcompress.go +++ b/g/encoding/gcompress/gcompress.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gcompress provides kinds of compression algorithms for binary/bytes data. // diff --git a/g/encoding/ghash/ghash.go b/g/encoding/ghash/ghash.go index 69d2cf1ea..c2849b727 100644 --- a/g/encoding/ghash/ghash.go +++ b/g/encoding/ghash/ghash.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package ghash provides some popular hash functions(uint32/uint64) in go. // diff --git a/g/encoding/ghash/ghash_test.go b/g/encoding/ghash/ghash_test.go index 7720f4f31..833c93a99 100644 --- a/g/encoding/ghash/ghash_test.go +++ b/g/encoding/ghash/ghash_test.go @@ -1,15 +1,15 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" package ghash_test import ( - "gitee.com/johng/gf/g/encoding/ghash" + "github.com/gogf/gf/g/encoding/ghash" "testing" ) diff --git a/g/encoding/ghtml/ghtml.go b/g/encoding/ghtml/ghtml.go index 370118943..87532f822 100644 --- a/g/encoding/ghtml/ghtml.go +++ b/g/encoding/ghtml/ghtml.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package ghtml provides useful API for HTML content handling. // @@ -12,7 +12,7 @@ package ghtml import ( "strings" "html" - "gitee.com/johng/gf/third/github.com/grokify/html-strip-tags-go" + "github.com/gogf/gf/third/github.com/grokify/html-strip-tags-go" ) // 过滤掉HTML标签,只返回text内容 diff --git a/g/encoding/gjson/gjson.go b/g/encoding/gjson/gjson.go index 51561e674..1dd4a9fc6 100644 --- a/g/encoding/gjson/gjson.go +++ b/g/encoding/gjson/gjson.go @@ -1,27 +1,27 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gjson provides quite flexible and useful API for JSON/XML/YAML/TOML content handling. package gjson import ( "errors" - "gitee.com/johng/gf/g/text/gregex" + "github.com/gogf/gf/g/text/gregex" "strings" "strconv" "io/ioutil" "encoding/json" - "gitee.com/johng/gf/g/os/gfile" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/encoding/gxml" - "gitee.com/johng/gf/g/encoding/gyaml" - "gitee.com/johng/gf/g/encoding/gtoml" - "gitee.com/johng/gf/g/text/gstr" + "github.com/gogf/gf/g/os/gfile" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/encoding/gxml" + "github.com/gogf/gf/g/encoding/gyaml" + "github.com/gogf/gf/g/encoding/gtoml" + "github.com/gogf/gf/g/text/gstr" "time" - "gitee.com/johng/gf/g/internal/rwmutex" + "github.com/gogf/gf/g/internal/rwmutex" "fmt" ) diff --git a/g/encoding/gparser/gparser.go b/g/encoding/gparser/gparser.go index 6682bd59a..8cc086342 100644 --- a/g/encoding/gparser/gparser.go +++ b/g/encoding/gparser/gparser.go @@ -1,4 +1,4 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, @@ -8,7 +8,7 @@ package gparser import ( - "gitee.com/johng/gf/g/encoding/gjson" + "github.com/gogf/gf/g/encoding/gjson" "time" ) diff --git a/g/encoding/gparser/gparser_test.go b/g/encoding/gparser/gparser_test.go index 3c0efbc27..cd99ca67a 100644 --- a/g/encoding/gparser/gparser_test.go +++ b/g/encoding/gparser/gparser_test.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 单元测试 @@ -11,7 +11,7 @@ package gparser_test import ( "bytes" "testing" - "gitee.com/johng/gf/g/encoding/gparser" + "github.com/gogf/gf/g/encoding/gparser" "fmt" ) diff --git a/g/encoding/gtoml/gtoml.go b/g/encoding/gtoml/gtoml.go index 9d95e84aa..a0214898b 100644 --- a/g/encoding/gtoml/gtoml.go +++ b/g/encoding/gtoml/gtoml.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gtoml provides accessing and converting for TOML content. package gtoml @@ -10,7 +10,7 @@ package gtoml import ( "bytes" "encoding/json" - "gitee.com/johng/gf/third/github.com/BurntSushi/toml" + "github.com/gogf/gf/third/github.com/BurntSushi/toml" ) func Encode(v interface{}) ([]byte, error) { diff --git a/g/encoding/gurl/url.go b/g/encoding/gurl/url.go index 929c4b97a..c9abfa15f 100644 --- a/g/encoding/gurl/url.go +++ b/g/encoding/gurl/url.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gurl provides useful API for URL handling. package gurl diff --git a/g/encoding/gxml/gxml.go b/g/encoding/gxml/gxml.go index 23980c630..0781891d0 100644 --- a/g/encoding/gxml/gxml.go +++ b/g/encoding/gxml/gxml.go @@ -1,18 +1,18 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gxml provides accessing and converting for XML content. package gxml import ( - "gitee.com/johng/gf/third/github.com/clbanning/mxj" + "github.com/gogf/gf/third/github.com/clbanning/mxj" "encoding/xml" "io" - "gitee.com/johng/gf/g/text/gregex" - "gitee.com/johng/gf/third/github.com/axgle/mahonia" + "github.com/gogf/gf/g/text/gregex" + "github.com/gogf/gf/third/github.com/axgle/mahonia" "errors" "fmt" "strings" diff --git a/g/encoding/gyaml/gyaml.go b/g/encoding/gyaml/gyaml.go index 0896fd8fb..cee2aa86e 100644 --- a/g/encoding/gyaml/gyaml.go +++ b/g/encoding/gyaml/gyaml.go @@ -1,13 +1,13 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gyaml provides accessing and converting for YAML content. package gyaml -import "gitee.com/johng/gf/third/github.com/ghodss/yaml" +import "github.com/gogf/gf/third/github.com/ghodss/yaml" func Encode(v interface{}) ([]byte, error) { return yaml.Marshal(v) diff --git a/g/frame/frame.go b/g/frame/frame.go index 52b9cf4ac..32d65c3de 100644 --- a/g/frame/frame.go +++ b/g/frame/frame.go @@ -1,7 +1,7 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package frame diff --git a/g/frame/gins/gins.go b/g/frame/gins/gins.go index 4f39f971f..b651b277c 100644 --- a/g/frame/gins/gins.go +++ b/g/frame/gins/gins.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gins provides instances management and some core components. // @@ -12,17 +12,17 @@ package gins import ( "fmt" - "gitee.com/johng/gf/g/container/gmap" - "gitee.com/johng/gf/g/database/gdb" - "gitee.com/johng/gf/g/database/gredis" - "gitee.com/johng/gf/g/internal/cmdenv" - "gitee.com/johng/gf/g/os/gcfg" - "gitee.com/johng/gf/g/os/gfile" - "gitee.com/johng/gf/g/os/gfsnotify" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gview" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/text/gregex" + "github.com/gogf/gf/g/container/gmap" + "github.com/gogf/gf/g/database/gdb" + "github.com/gogf/gf/g/database/gredis" + "github.com/gogf/gf/g/internal/cmdenv" + "github.com/gogf/gf/g/os/gcfg" + "github.com/gogf/gf/g/os/gfile" + "github.com/gogf/gf/g/os/gfsnotify" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gview" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/text/gregex" ) const ( diff --git a/g/frame/gmvc/controller.go b/g/frame/gmvc/controller.go index e62c2072c..b1234d580 100644 --- a/g/frame/gmvc/controller.go +++ b/g/frame/gmvc/controller.go @@ -1,14 +1,14 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gmvc provides basic object classes for MVC. package gmvc import ( - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g/net/ghttp" ) // 控制器基类 diff --git a/g/frame/gmvc/model.go b/g/frame/gmvc/model.go index 92a91aed0..2e5e9ba4d 100644 --- a/g/frame/gmvc/model.go +++ b/g/frame/gmvc/model.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gmvc diff --git a/g/frame/gmvc/view.go b/g/frame/gmvc/view.go index ef9ab647b..0bf3c7da5 100644 --- a/g/frame/gmvc/view.go +++ b/g/frame/gmvc/view.go @@ -1,16 +1,16 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gmvc import ( "sync" - "gitee.com/johng/gf/g/os/gview" - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/frame/gins" + "github.com/gogf/gf/g/os/gview" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/frame/gins" ) // 基于控制器注册的MVC视图基类(一个请求一个视图对象,用完即销毁) diff --git a/g/g.go b/g/g.go index e73b91b6e..8020645bf 100644 --- a/g/g.go +++ b/g/g.go @@ -1,13 +1,13 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 常用数据类型以及对象封装 package g -import "gitee.com/johng/gf/g/container/gvar" +import "github.com/gogf/gf/g/container/gvar" // 框架动态变量,可以用该类型替代interface{}类型 type Var = gvar.Var diff --git a/g/g_func.go b/g/g_func.go index 736ccb240..3b2a2b3f4 100644 --- a/g/g_func.go +++ b/g/g_func.go @@ -1,16 +1,16 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package g import ( - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/util/gutil" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/container/gvar" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/util/gutil" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/container/gvar" ) const ( diff --git a/g/g_logger.go b/g/g_logger.go index 8c7b9b85b..b007ce785 100644 --- a/g/g_logger.go +++ b/g/g_logger.go @@ -1,13 +1,13 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package g import ( - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g/os/glog" ) // 是否显示调试信息 diff --git a/g/g_object.go b/g/g_object.go index 19ba89fb6..5aa0ea996 100644 --- a/g/g_object.go +++ b/g/g_object.go @@ -1,20 +1,20 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package g import ( - "gitee.com/johng/gf/g/database/gdb" - "gitee.com/johng/gf/g/database/gredis" - "gitee.com/johng/gf/g/frame/gins" - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/net/gtcp" - "gitee.com/johng/gf/g/net/gudp" - "gitee.com/johng/gf/g/os/gview" - "gitee.com/johng/gf/g/os/gcfg" + "github.com/gogf/gf/g/database/gdb" + "github.com/gogf/gf/g/database/gredis" + "github.com/gogf/gf/g/frame/gins" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/net/gtcp" + "github.com/gogf/gf/g/net/gudp" + "github.com/gogf/gf/g/os/gview" + "github.com/gogf/gf/g/os/gcfg" ) // HTTPServer单例对象 diff --git a/g/internal/cmdenv/cmdenv.go b/g/internal/cmdenv/cmdenv.go index 354dfa86b..3ba065acf 100644 --- a/g/internal/cmdenv/cmdenv.go +++ b/g/internal/cmdenv/cmdenv.go @@ -1,15 +1,15 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package cmdenv import ( - "gitee.com/johng/gf/g/container/gvar" - "gitee.com/johng/gf/g/os/gcmd" - "gitee.com/johng/gf/g/os/genv" + "github.com/gogf/gf/g/container/gvar" + "github.com/gogf/gf/g/os/gcmd" + "github.com/gogf/gf/g/os/genv" "strings" ) diff --git a/g/internal/mutex/mutex.go b/g/internal/mutex/mutex.go index 6d8045c80..ef041d94c 100644 --- a/g/internal/mutex/mutex.go +++ b/g/internal/mutex/mutex.go @@ -1,8 +1,8 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package mutex diff --git a/g/internal/mutex/mutex_z_bench_test.go b/g/internal/mutex/mutex_z_bench_test.go index 3cf6d53a4..25abb4781 100644 --- a/g/internal/mutex/mutex_z_bench_test.go +++ b/g/internal/mutex/mutex_z_bench_test.go @@ -1,13 +1,13 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package mutex_test import ( - "gitee.com/johng/gf/g/internal/mutex" + "github.com/gogf/gf/g/internal/mutex" "testing" ) diff --git a/g/internal/rwmutex/rwmutex.go b/g/internal/rwmutex/rwmutex.go index ac9e1b60f..98754e5e1 100644 --- a/g/internal/rwmutex/rwmutex.go +++ b/g/internal/rwmutex/rwmutex.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package rwmutex diff --git a/g/internal/rwmutex/rwmutex_z_bench_test.go b/g/internal/rwmutex/rwmutex_z_bench_test.go index 8a0e7ee04..157a999a8 100644 --- a/g/internal/rwmutex/rwmutex_z_bench_test.go +++ b/g/internal/rwmutex/rwmutex_z_bench_test.go @@ -1,13 +1,13 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package rwmutex_test import ( - "gitee.com/johng/gf/g/internal/rwmutex" + "github.com/gogf/gf/g/internal/rwmutex" "testing" ) diff --git a/g/net/ghttp/ghttp.go b/g/net/ghttp/ghttp.go index 44c587d78..006d285ad 100644 --- a/g/net/ghttp/ghttp.go +++ b/g/net/ghttp/ghttp.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package ghttp provides quite powerful HTTP server and simple client implementations. package ghttp diff --git a/g/net/ghttp/ghttp_client_request_api.go b/g/net/ghttp/ghttp_client_request_api.go index ede79dff5..2d08f2eb8 100644 --- a/g/net/ghttp/ghttp_client_request_api.go +++ b/g/net/ghttp/ghttp_client_request_api.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // HTTP客户端请求. diff --git a/g/net/ghttp/ghttp_client_request_client.go b/g/net/ghttp/ghttp_client_request_client.go index 12376f4bc..d211cf5cd 100644 --- a/g/net/ghttp/ghttp_client_request_client.go +++ b/g/net/ghttp/ghttp_client_request_client.go @@ -1,15 +1,15 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // HTTP客户端请求. package ghttp import ( - "gitee.com/johng/gf/g/text/gregex" + "github.com/gogf/gf/g/text/gregex" "time" "bytes" "strings" @@ -17,7 +17,7 @@ import ( "mime/multipart" "os" "io" - "gitee.com/johng/gf/g/os/gfile" + "github.com/gogf/gf/g/os/gfile" "errors" "fmt" ) diff --git a/g/net/ghttp/ghttp_client_response.go b/g/net/ghttp/ghttp_client_response.go index 2b625ec9b..175deb345 100644 --- a/g/net/ghttp/ghttp_client_response.go +++ b/g/net/ghttp/ghttp_client_response.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // HTTP客户端请求返回. package ghttp diff --git a/g/net/ghttp/ghttp_controller.go b/g/net/ghttp/ghttp_controller.go index 164d08fe5..fa50418c4 100644 --- a/g/net/ghttp/ghttp_controller.go +++ b/g/net/ghttp/ghttp_controller.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package ghttp diff --git a/g/net/ghttp/ghttp_func.go b/g/net/ghttp/ghttp_func.go index 74e28bcaf..1f6db2081 100644 --- a/g/net/ghttp/ghttp_func.go +++ b/g/net/ghttp/ghttp_func.go @@ -1,13 +1,13 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package ghttp import ( - "gitee.com/johng/gf/g/encoding/gurl" + "github.com/gogf/gf/g/encoding/gurl" "strings" ) diff --git a/g/net/ghttp/ghttp_request.go b/g/net/ghttp/ghttp_request.go index bdcfb3b35..3f504eba0 100644 --- a/g/net/ghttp/ghttp_request.go +++ b/g/net/ghttp/ghttp_request.go @@ -1,17 +1,17 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package ghttp import ( - "gitee.com/johng/gf/g/container/gvar" - "gitee.com/johng/gf/g/encoding/gjson" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/text/gregex" - "gitee.com/johng/gf/third/github.com/fatih/structs" + "github.com/gogf/gf/g/container/gvar" + "github.com/gogf/gf/g/encoding/gjson" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/text/gregex" + "github.com/gogf/gf/third/github.com/fatih/structs" "io/ioutil" "net/http" "strings" diff --git a/g/net/ghttp/ghttp_request_auth.go b/g/net/ghttp/ghttp_request_auth.go index 872247ddd..21b740f2d 100644 --- a/g/net/ghttp/ghttp_request_auth.go +++ b/g/net/ghttp/ghttp_request_auth.go @@ -1,15 +1,15 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package ghttp import ( "net/http" "strings" - "gitee.com/johng/gf/g/encoding/gbase64" + "github.com/gogf/gf/g/encoding/gbase64" "fmt" ) diff --git a/g/net/ghttp/ghttp_request_params.go b/g/net/ghttp/ghttp_request_params.go index 8824c0a2f..e5d6268cc 100644 --- a/g/net/ghttp/ghttp_request_params.go +++ b/g/net/ghttp/ghttp_request_params.go @@ -1,12 +1,12 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package ghttp -import "gitee.com/johng/gf/g/container/gvar" +import "github.com/gogf/gf/g/container/gvar" // 设置请求流程共享变量 func (r *Request) SetParam(key string, value interface{}) { diff --git a/g/net/ghttp/ghttp_request_post.go b/g/net/ghttp/ghttp_request_post.go index 7ad539a99..548432360 100644 --- a/g/net/ghttp/ghttp_request_post.go +++ b/g/net/ghttp/ghttp_request_post.go @@ -1,13 +1,13 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package ghttp import ( - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/util/gconv" ) // 初始化POST请求参数 diff --git a/g/net/ghttp/ghttp_request_query.go b/g/net/ghttp/ghttp_request_query.go index 40bfe8db5..b5a26e832 100644 --- a/g/net/ghttp/ghttp_request_query.go +++ b/g/net/ghttp/ghttp_request_query.go @@ -1,13 +1,13 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package ghttp import ( - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/util/gconv" "strings" ) diff --git a/g/net/ghttp/ghttp_request_request.go b/g/net/ghttp/ghttp_request_request.go index 355bde8ac..4b196225f 100644 --- a/g/net/ghttp/ghttp_request_request.go +++ b/g/net/ghttp/ghttp_request_request.go @@ -1,14 +1,14 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package ghttp import ( - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/container/gvar" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/container/gvar" ) // 获得router、post或者get提交的参数,如果有同名参数,那么按照router->get->post优先级进行覆盖 diff --git a/g/net/ghttp/ghttp_request_router.go b/g/net/ghttp/ghttp_request_router.go index 4af653729..e7359bb76 100644 --- a/g/net/ghttp/ghttp_request_router.go +++ b/g/net/ghttp/ghttp_request_router.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package ghttp diff --git a/g/net/ghttp/ghttp_response.go b/g/net/ghttp/ghttp_response.go index 5a3a924e2..5f5d786c6 100644 --- a/g/net/ghttp/ghttp_response.go +++ b/g/net/ghttp/ghttp_response.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // package ghttp @@ -10,9 +10,9 @@ package ghttp import ( "bytes" "fmt" - "gitee.com/johng/gf/g/encoding/gparser" - "gitee.com/johng/gf/g/os/gfile" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/encoding/gparser" + "github.com/gogf/gf/g/os/gfile" + "github.com/gogf/gf/g/util/gconv" "net/http" "strconv" ) diff --git a/g/net/ghttp/ghttp_response_gzip.go b/g/net/ghttp/ghttp_response_gzip.go index f3e0ddde6..7c66b3e11 100644 --- a/g/net/ghttp/ghttp_response_gzip.go +++ b/g/net/ghttp/ghttp_response_gzip.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // package ghttp diff --git a/g/net/ghttp/ghttp_response_view.go b/g/net/ghttp/ghttp_response_view.go index b57a19b57..acb1c30a9 100644 --- a/g/net/ghttp/ghttp_response_view.go +++ b/g/net/ghttp/ghttp_response_view.go @@ -1,15 +1,15 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // package ghttp import ( - "gitee.com/johng/gf/g/os/gview" - "gitee.com/johng/gf/g/frame/gins" + "github.com/gogf/gf/g/os/gview" + "github.com/gogf/gf/g/frame/gins" ) // 展示模板,可以给定模板参数,及临时的自定义模板函数 diff --git a/g/net/ghttp/ghttp_response_writer.go b/g/net/ghttp/ghttp_response_writer.go index 936234dbf..e803f170e 100644 --- a/g/net/ghttp/ghttp_response_writer.go +++ b/g/net/ghttp/ghttp_response_writer.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // package ghttp diff --git a/g/net/ghttp/ghttp_server.go b/g/net/ghttp/ghttp_server.go index c82ae4af6..3c5cf92ad 100644 --- a/g/net/ghttp/ghttp_server.go +++ b/g/net/ghttp/ghttp_server.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package ghttp @@ -10,19 +10,19 @@ import ( "bytes" "errors" "fmt" - "gitee.com/johng/gf/g/container/garray" - "gitee.com/johng/gf/g/container/gmap" - "gitee.com/johng/gf/g/container/gtype" - "gitee.com/johng/gf/g/os/gcache" - "gitee.com/johng/gf/g/os/genv" - "gitee.com/johng/gf/g/os/gfile" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gproc" - "gitee.com/johng/gf/g/os/gtimer" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/text/gregex" - "gitee.com/johng/gf/third/github.com/gorilla/websocket" - "gitee.com/johng/gf/third/github.com/olekukonko/tablewriter" + "github.com/gogf/gf/g/container/garray" + "github.com/gogf/gf/g/container/gmap" + "github.com/gogf/gf/g/container/gtype" + "github.com/gogf/gf/g/os/gcache" + "github.com/gogf/gf/g/os/genv" + "github.com/gogf/gf/g/os/gfile" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gproc" + "github.com/gogf/gf/g/os/gtimer" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/text/gregex" + "github.com/gogf/gf/third/github.com/gorilla/websocket" + "github.com/gogf/gf/third/github.com/olekukonko/tablewriter" "net/http" "os" "reflect" diff --git a/g/net/ghttp/ghttp_server_admin.go b/g/net/ghttp/ghttp_server_admin.go index 89206831c..b76e68ca0 100644 --- a/g/net/ghttp/ghttp_server_admin.go +++ b/g/net/ghttp/ghttp_server_admin.go @@ -1,26 +1,26 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // pprof封装. package ghttp import ( - "gitee.com/johng/gf/g/os/gtimer" + "github.com/gogf/gf/g/os/gtimer" "strings" - "gitee.com/johng/gf/g/os/gview" - "gitee.com/johng/gf/g/os/gproc" + "github.com/gogf/gf/g/os/gview" + "github.com/gogf/gf/g/os/gproc" "sync" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gtime" "errors" "fmt" - "gitee.com/johng/gf/g/container/gtype" - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g/container/gtype" + "github.com/gogf/gf/g/os/glog" "os" - "gitee.com/johng/gf/g/encoding/gjson" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/encoding/gjson" + "github.com/gogf/gf/g/util/gconv" "time" "runtime" "bytes" diff --git a/g/net/ghttp/ghttp_server_admin_unix.go b/g/net/ghttp/ghttp_server_admin_unix.go index 06b18fd94..13cdc224a 100644 --- a/g/net/ghttp/ghttp_server_admin_unix.go +++ b/g/net/ghttp/ghttp_server_admin_unix.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // +build !windows diff --git a/g/net/ghttp/ghttp_server_admin_windows.go b/g/net/ghttp/ghttp_server_admin_windows.go index d763818c9..86cb1ef0c 100644 --- a/g/net/ghttp/ghttp_server_admin_windows.go +++ b/g/net/ghttp/ghttp_server_admin_windows.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // +build windows diff --git a/g/net/ghttp/ghttp_server_config.go b/g/net/ghttp/ghttp_server_config.go index 438725f17..50af99bc3 100644 --- a/g/net/ghttp/ghttp_server_config.go +++ b/g/net/ghttp/ghttp_server_config.go @@ -1,15 +1,15 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package ghttp import ( "fmt" - "gitee.com/johng/gf/g/os/gfile" - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g/os/gfile" + "github.com/gogf/gf/g/os/glog" "net/http" "strconv" "time" diff --git a/g/net/ghttp/ghttp_server_config_cookie.go b/g/net/ghttp/ghttp_server_config_cookie.go index bad52b0bf..14078958a 100644 --- a/g/net/ghttp/ghttp_server_config_cookie.go +++ b/g/net/ghttp/ghttp_server_config_cookie.go @@ -1,13 +1,13 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package ghttp import ( - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g/os/glog" ) diff --git a/g/net/ghttp/ghttp_server_config_logger.go b/g/net/ghttp/ghttp_server_config_logger.go index e7a949cf7..54867b712 100644 --- a/g/net/ghttp/ghttp_server_config_logger.go +++ b/g/net/ghttp/ghttp_server_config_logger.go @@ -1,13 +1,13 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package ghttp import ( - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g/os/glog" ) // 设置日志目录 diff --git a/g/net/ghttp/ghttp_server_config_route.go b/g/net/ghttp/ghttp_server_config_route.go index ea60da519..d3e758c40 100644 --- a/g/net/ghttp/ghttp_server_config_route.go +++ b/g/net/ghttp/ghttp_server_config_route.go @@ -1,13 +1,13 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package ghttp -import "gitee.com/johng/gf/g/os/glog" +import "github.com/gogf/gf/g/os/glog" func (s *Server) SetDenyIps(ips []string) { if s.Status() == SERVER_STATUS_RUNNING { diff --git a/g/net/ghttp/ghttp_server_config_session.go b/g/net/ghttp/ghttp_server_config_session.go index 7b9fa801b..5f773c8fc 100644 --- a/g/net/ghttp/ghttp_server_config_session.go +++ b/g/net/ghttp/ghttp_server_config_session.go @@ -1,12 +1,12 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package ghttp -import "gitee.com/johng/gf/g/os/glog" +import "github.com/gogf/gf/g/os/glog" // 设置http server参数 - SessionMaxAge func (s *Server) SetSessionMaxAge(age int) { diff --git a/g/net/ghttp/ghttp_server_config_static.go b/g/net/ghttp/ghttp_server_config_static.go index 2d1c4fcbb..8412da927 100644 --- a/g/net/ghttp/ghttp_server_config_static.go +++ b/g/net/ghttp/ghttp_server_config_static.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 静态文件搜索优先级: ServerPaths > ServerRoot > SearchPath @@ -10,10 +10,10 @@ package ghttp import ( "fmt" - "gitee.com/johng/gf/g/container/garray" - "gitee.com/johng/gf/g/os/gfile" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/container/garray" + "github.com/gogf/gf/g/os/gfile" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/util/gconv" "strings" ) diff --git a/g/net/ghttp/ghttp_server_cookie.go b/g/net/ghttp/ghttp_server_cookie.go index 1c2e2af6c..e57d96fdf 100644 --- a/g/net/ghttp/ghttp_server_cookie.go +++ b/g/net/ghttp/ghttp_server_cookie.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // // HTTP Cookie管理对象, // 由于Cookie是和HTTP请求挂钩的,因此被包含到 ghttp 包中进行管理 @@ -10,7 +10,7 @@ package ghttp import ( - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gtime" "net/http" "time" ) diff --git a/g/net/ghttp/ghttp_server_domain.go b/g/net/ghttp/ghttp_server_domain.go index 117e7b1ae..d0f618cb3 100644 --- a/g/net/ghttp/ghttp_server_domain.go +++ b/g/net/ghttp/ghttp_server_domain.go @@ -1,15 +1,15 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 域名服务注册管理. package ghttp import ( "strings" - "gitee.com/johng/gf/g/container/gmap" + "github.com/gogf/gf/g/container/gmap" ) // 域名管理器对象 diff --git a/g/net/ghttp/ghttp_server_graceful.go b/g/net/ghttp/ghttp_server_graceful.go index 0b8c0af28..1628ae615 100644 --- a/g/net/ghttp/ghttp_server_graceful.go +++ b/g/net/ghttp/ghttp_server_graceful.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package ghttp @@ -11,9 +11,9 @@ import ( "crypto/tls" "errors" "fmt" - "gitee.com/johng/gf/g/net/greuseport" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gproc" + "github.com/gogf/gf/g/net/greuseport" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gproc" "net" "net/http" "os" diff --git a/g/net/ghttp/ghttp_server_handler.go b/g/net/ghttp/ghttp_server_handler.go index 1e36ff3ac..dc63c872c 100644 --- a/g/net/ghttp/ghttp_server_handler.go +++ b/g/net/ghttp/ghttp_server_handler.go @@ -1,17 +1,17 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 请求处理. package ghttp import ( "fmt" - "gitee.com/johng/gf/g/encoding/ghtml" - "gitee.com/johng/gf/g/os/gspath" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/encoding/ghtml" + "github.com/gogf/gf/g/os/gspath" + "github.com/gogf/gf/g/os/gtime" "net/http" "os" "reflect" diff --git a/g/net/ghttp/ghttp_server_log.go b/g/net/ghttp/ghttp_server_log.go index 62ace6fda..e7a3d1e56 100644 --- a/g/net/ghttp/ghttp_server_log.go +++ b/g/net/ghttp/ghttp_server_log.go @@ -1,15 +1,15 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 默认错误日志封装. package ghttp import ( "fmt" - "gitee.com/johng/gf/g/os/gfile" + "github.com/gogf/gf/g/os/gfile" "net/http" ) diff --git a/g/net/ghttp/ghttp_server_pprof.go b/g/net/ghttp/ghttp_server_pprof.go index d0104447d..c1cbef0c8 100644 --- a/g/net/ghttp/ghttp_server_pprof.go +++ b/g/net/ghttp/ghttp_server_pprof.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // pprof封装. package ghttp @@ -11,7 +11,7 @@ import ( "strings" runpprof "runtime/pprof" netpprof "net/http/pprof" - "gitee.com/johng/gf/g/os/gview" + "github.com/gogf/gf/g/os/gview" ) // 用于pprof的对象 diff --git a/g/net/ghttp/ghttp_server_router.go b/g/net/ghttp/ghttp_server_router.go index 7451310e9..647ab3352 100644 --- a/g/net/ghttp/ghttp_server_router.go +++ b/g/net/ghttp/ghttp_server_router.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 路由控制基本方法. package ghttp @@ -11,9 +11,9 @@ import ( "container/list" "errors" "fmt" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/text/gregex" - "gitee.com/johng/gf/g/text/gstr" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/text/gregex" + "github.com/gogf/gf/g/text/gstr" "runtime" "strings" ) diff --git a/g/net/ghttp/ghttp_server_router_group.go b/g/net/ghttp/ghttp_server_router_group.go index 08e600d7e..cd90806f8 100644 --- a/g/net/ghttp/ghttp_server_router_group.go +++ b/g/net/ghttp/ghttp_server_router_group.go @@ -1,15 +1,15 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 分组路由管理. package ghttp import ( - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/util/gconv" "reflect" "strings" ) diff --git a/g/net/ghttp/ghttp_server_router_hook.go b/g/net/ghttp/ghttp_server_router_hook.go index 0ee3280dc..2bb225d57 100644 --- a/g/net/ghttp/ghttp_server_router_hook.go +++ b/g/net/ghttp/ghttp_server_router_hook.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 事件回调(中间件)路由控制. package ghttp @@ -10,8 +10,8 @@ package ghttp import ( "container/list" "fmt" - "gitee.com/johng/gf/g/container/gset" - "gitee.com/johng/gf/g/text/gregex" + "github.com/gogf/gf/g/container/gset" + "github.com/gogf/gf/g/text/gregex" "reflect" "runtime" "strings" diff --git a/g/net/ghttp/ghttp_server_router_serve.go b/g/net/ghttp/ghttp_server_router_serve.go index 55f02b47e..4f0584b61 100644 --- a/g/net/ghttp/ghttp_server_router_serve.go +++ b/g/net/ghttp/ghttp_server_router_serve.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 服务注册路由控制. package ghttp @@ -10,7 +10,7 @@ package ghttp import ( "strings" "container/list" - "gitee.com/johng/gf/g/text/gregex" + "github.com/gogf/gf/g/text/gregex" ) // 查询请求处理方法. diff --git a/g/net/ghttp/ghttp_server_service_controller.go b/g/net/ghttp/ghttp_server_service_controller.go index 1da2b2940..27b6bef94 100644 --- a/g/net/ghttp/ghttp_server_service_controller.go +++ b/g/net/ghttp/ghttp_server_service_controller.go @@ -1,20 +1,20 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 服务注册. package ghttp import ( "errors" - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g/os/glog" "strings" "reflect" "fmt" - "gitee.com/johng/gf/g/os/gfile" - "gitee.com/johng/gf/g/text/gstr" + "github.com/gogf/gf/g/os/gfile" + "github.com/gogf/gf/g/text/gstr" ) // 绑定控制器,控制器需要实现gmvc.Controller接口 diff --git a/g/net/ghttp/ghttp_server_service_handler.go b/g/net/ghttp/ghttp_server_service_handler.go index 21b7b5344..2e9e8c542 100644 --- a/g/net/ghttp/ghttp_server_service_handler.go +++ b/g/net/ghttp/ghttp_server_service_handler.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 服务注册. package ghttp @@ -10,7 +10,7 @@ package ghttp import ( "errors" "strings" - "gitee.com/johng/gf/g/text/gstr" + "github.com/gogf/gf/g/text/gstr" "bytes" "runtime" "reflect" diff --git a/g/net/ghttp/ghttp_server_service_object.go b/g/net/ghttp/ghttp_server_service_object.go index 7922a068c..f6a43bf8d 100644 --- a/g/net/ghttp/ghttp_server_service_object.go +++ b/g/net/ghttp/ghttp_server_service_object.go @@ -1,20 +1,20 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 服务注册. package ghttp import ( "errors" - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g/os/glog" "strings" "reflect" "fmt" - "gitee.com/johng/gf/g/text/gstr" - "gitee.com/johng/gf/g/os/gfile" + "github.com/gogf/gf/g/text/gstr" + "github.com/gogf/gf/g/os/gfile" ) // 绑定对象到URI请求处理中,会自动识别方法名称,并附加到对应的URI地址后面 diff --git a/g/net/ghttp/ghttp_server_session.go b/g/net/ghttp/ghttp_server_session.go index 9e89874fc..43d5a01e3 100644 --- a/g/net/ghttp/ghttp_server_session.go +++ b/g/net/ghttp/ghttp_server_session.go @@ -1,18 +1,18 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 并发安全的Session管理器 package ghttp import ( - "gitee.com/johng/gf/g/container/gmap" - "gitee.com/johng/gf/g/container/gvar" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/util/grand" + "github.com/gogf/gf/g/container/gmap" + "github.com/gogf/gf/g/container/gvar" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/util/grand" "strconv" "strings" "time" diff --git a/g/net/ghttp/ghttp_server_status.go b/g/net/ghttp/ghttp_server_status.go index 8a84dea7d..987cce102 100644 --- a/g/net/ghttp/ghttp_server_status.go +++ b/g/net/ghttp/ghttp_server_status.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 状态码回调函数注册. package ghttp diff --git a/g/net/ghttp/ghttp_server_websocket.go b/g/net/ghttp/ghttp_server_websocket.go index 064f4636e..739b86836 100644 --- a/g/net/ghttp/ghttp_server_websocket.go +++ b/g/net/ghttp/ghttp_server_websocket.go @@ -1,13 +1,13 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package ghttp -import "gitee.com/johng/gf/third/github.com/gorilla/websocket" +import "github.com/gogf/gf/third/github.com/gorilla/websocket" type WebSocket struct { *websocket.Conn diff --git a/g/net/ghttp/ghttp_unit_1_test.go b/g/net/ghttp/ghttp_unit_1_test.go index de6b66a05..c54a69950 100644 --- a/g/net/ghttp/ghttp_unit_1_test.go +++ b/g/net/ghttp/ghttp_unit_1_test.go @@ -1,17 +1,17 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 基本路由功能以及优先级测试 package ghttp_test import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/test/gtest" "testing" "time" ) diff --git a/g/net/ghttp/ghttp_unit_2_test.go b/g/net/ghttp/ghttp_unit_2_test.go index eafdfee04..0f1f9ab4d 100644 --- a/g/net/ghttp/ghttp_unit_2_test.go +++ b/g/net/ghttp/ghttp_unit_2_test.go @@ -1,18 +1,18 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 分组路由测试 package ghttp_test import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/frame/gmvc" - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/frame/gmvc" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/test/gtest" "testing" "time" ) diff --git a/g/net/ghttp/ghttp_unit_3_test.go b/g/net/ghttp/ghttp_unit_3_test.go index 65c3cb7c2..e2e2dad74 100644 --- a/g/net/ghttp/ghttp_unit_3_test.go +++ b/g/net/ghttp/ghttp_unit_3_test.go @@ -1,17 +1,17 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 请求参数测试 package ghttp_test import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/test/gtest" "testing" "time" ) diff --git a/g/net/gipv4/gipv4.go b/g/net/gipv4/gipv4.go index 7bad1d218..bcd42f991 100644 --- a/g/net/gipv4/gipv4.go +++ b/g/net/gipv4/gipv4.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // // Package gipv4 provides useful API for IPv4 address handling. @@ -15,7 +15,7 @@ import ( "strings" "regexp" "fmt" - "gitee.com/johng/gf/g/text/gregex" + "github.com/gogf/gf/g/text/gregex" ) // 判断所给地址是否是一个IPv4地址 diff --git a/g/net/gipv6/gipv6.go b/g/net/gipv6/gipv6.go index f76660582..3b26fb6f4 100644 --- a/g/net/gipv6/gipv6.go +++ b/g/net/gipv6/gipv6.go @@ -1,13 +1,13 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gipv4 provides useful API for IPv6 address handling. package gipv6 -import "gitee.com/johng/gf/g/text/gregex" +import "github.com/gogf/gf/g/text/gregex" // 判断所给地址是否是一个IPv6地址 func Validate(ip string) bool { diff --git a/g/net/greuseport/greuseport_unix.go b/g/net/greuseport/greuseport_unix.go index d18992044..38aa113cf 100644 --- a/g/net/greuseport/greuseport_unix.go +++ b/g/net/greuseport/greuseport_unix.go @@ -3,7 +3,7 @@ package greuseport import ( - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" "syscall" ) diff --git a/g/net/greuseport/greuseport_z_unit_test.go b/g/net/greuseport/greuseport_z_unit_test.go index 0e3bbde51..5560d49ff 100644 --- a/g/net/greuseport/greuseport_z_unit_test.go +++ b/g/net/greuseport/greuseport_z_unit_test.go @@ -4,7 +4,7 @@ package greuseport_test import ( "fmt" - "gitee.com/johng/gf/g/net/greuseport" + "github.com/gogf/gf/g/net/greuseport" "html" "io/ioutil" "net/http" diff --git a/g/net/gscanner/scanner.go b/g/net/gscanner/scanner.go index 8d6caed94..84a42fd45 100644 --- a/g/net/gscanner/scanner.go +++ b/g/net/gscanner/scanner.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gscanner provides a port scanner for local intranet. package gscanner @@ -13,7 +13,7 @@ import ( "sync" "time" "errors" - "gitee.com/johng/gf/g/net/gipv4" + "github.com/gogf/gf/g/net/gipv4" ) type scanner struct { diff --git a/g/net/gsmtp/smtp.go b/g/net/gsmtp/smtp.go index e012ebbd7..7bf53a9c4 100644 --- a/g/net/gsmtp/smtp.go +++ b/g/net/gsmtp/smtp.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gsmtp provides a SMTP client to access remote mail server. package gsmtp diff --git a/g/net/gtcp/gtcp.go b/g/net/gtcp/gtcp.go index bde28ef95..44ee8dfce 100644 --- a/g/net/gtcp/gtcp.go +++ b/g/net/gtcp/gtcp.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gtcp provides TCP server and client implementations. package gtcp diff --git a/g/net/gtcp/gtcp_conn.go b/g/net/gtcp/gtcp_conn.go index cf86c563d..be618496b 100644 --- a/g/net/gtcp/gtcp_conn.go +++ b/g/net/gtcp/gtcp_conn.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtcp diff --git a/g/net/gtcp/gtcp_func.go b/g/net/gtcp/gtcp_func.go index f496143b1..dbd3bdc14 100644 --- a/g/net/gtcp/gtcp_func.go +++ b/g/net/gtcp/gtcp_func.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtcp diff --git a/g/net/gtcp/gtcp_pool.go b/g/net/gtcp/gtcp_pool.go index 53ff81da1..7d56d239a 100644 --- a/g/net/gtcp/gtcp_pool.go +++ b/g/net/gtcp/gtcp_pool.go @@ -1,15 +1,15 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtcp import ( "time" - "gitee.com/johng/gf/g/container/gmap" - "gitee.com/johng/gf/g/container/gpool" + "github.com/gogf/gf/g/container/gmap" + "github.com/gogf/gf/g/container/gpool" ) // 链接池链接对象 diff --git a/g/net/gtcp/gtcp_server.go b/g/net/gtcp/gtcp_server.go index ac16ff922..aa811f388 100644 --- a/g/net/gtcp/gtcp_server.go +++ b/g/net/gtcp/gtcp_server.go @@ -1,18 +1,18 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtcp import ( "errors" - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g/os/glog" "net" - "gitee.com/johng/gf/g/container/gmap" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/container/gmap" + "github.com/gogf/gf/g/util/gconv" ) const ( diff --git a/g/net/gudp/gudp.go b/g/net/gudp/gudp.go index 442931413..b328b835c 100644 --- a/g/net/gudp/gudp.go +++ b/g/net/gudp/gudp.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gtcp provides UDP server and client implementations. package gudp diff --git a/g/net/gudp/gudp_conn.go b/g/net/gudp/gudp_conn.go index c14b9a31b..8dce8fc9c 100644 --- a/g/net/gudp/gudp_conn.go +++ b/g/net/gudp/gudp_conn.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gudp diff --git a/g/net/gudp/gudp_func.go b/g/net/gudp/gudp_func.go index c151516d2..3d964a528 100644 --- a/g/net/gudp/gudp_func.go +++ b/g/net/gudp/gudp_func.go @@ -1,8 +1,8 @@ -// Copyright 2017-2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017-2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gudp diff --git a/g/net/gudp/gudp_server.go b/g/net/gudp/gudp_server.go index 452c03f21..a175e0942 100644 --- a/g/net/gudp/gudp_server.go +++ b/g/net/gudp/gudp_server.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gudp @@ -10,8 +10,8 @@ package gudp import ( "net" "errors" - "gitee.com/johng/gf/g/container/gmap" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/container/gmap" + "github.com/gogf/gf/g/util/gconv" ) const ( diff --git a/g/os/gcache/gcache.go b/g/os/gcache/gcache.go index fa2c270da..d730e92f7 100644 --- a/g/os/gcache/gcache.go +++ b/g/os/gcache/gcache.go @@ -1,8 +1,8 @@ -// Copyright 2017-2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017-2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gcache provides high performance and concurrent-safe in-memory cache for process. // diff --git a/g/os/gcache/gcache_cache.go b/g/os/gcache/gcache_cache.go index c3d67d17f..33ad10e74 100644 --- a/g/os/gcache/gcache_cache.go +++ b/g/os/gcache/gcache_cache.go @@ -1,13 +1,13 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gcache import ( - "gitee.com/johng/gf/g/os/gtimer" + "github.com/gogf/gf/g/os/gtimer" "sync/atomic" "time" "unsafe" diff --git a/g/os/gcache/gcache_mem_cache.go b/g/os/gcache/gcache_mem_cache.go index 0d9c76dcb..a87dd273a 100644 --- a/g/os/gcache/gcache_mem_cache.go +++ b/g/os/gcache/gcache_mem_cache.go @@ -1,18 +1,18 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gcache import ( - "gitee.com/johng/gf/g/container/glist" - "gitee.com/johng/gf/g/container/gset" - "gitee.com/johng/gf/g/container/gtype" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/os/gtimer" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/container/glist" + "github.com/gogf/gf/g/container/gset" + "github.com/gogf/gf/g/container/gtype" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gtimer" + "github.com/gogf/gf/g/util/gconv" "math" "sync" ) diff --git a/g/os/gcache/gcache_mem_cache_item.go b/g/os/gcache/gcache_mem_cache_item.go index b7b301b8b..72f9d1572 100644 --- a/g/os/gcache/gcache_mem_cache_item.go +++ b/g/os/gcache/gcache_mem_cache_item.go @@ -1,12 +1,12 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gcache -import "gitee.com/johng/gf/g/os/gtime" +import "github.com/gogf/gf/g/os/gtime" // 判断缓存项是否已过期 func (item *memCacheItem) IsExpired() bool { diff --git a/g/os/gcache/gcache_mem_cache_lru.go b/g/os/gcache/gcache_mem_cache_lru.go index 9da2d6dd9..38fa2e2b0 100644 --- a/g/os/gcache/gcache_mem_cache_lru.go +++ b/g/os/gcache/gcache_mem_cache_lru.go @@ -1,17 +1,17 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gcache import ( "fmt" - "gitee.com/johng/gf/g/container/glist" - "gitee.com/johng/gf/g/container/gmap" - "gitee.com/johng/gf/g/container/gtype" - "gitee.com/johng/gf/g/os/gtimer" + "github.com/gogf/gf/g/container/glist" + "github.com/gogf/gf/g/container/gmap" + "github.com/gogf/gf/g/container/gtype" + "github.com/gogf/gf/g/os/gtimer" "time" ) diff --git a/g/os/gcache/gcache_z_bench_test.go b/g/os/gcache/gcache_z_bench_test.go index f30ba173a..b5a8925f2 100644 --- a/g/os/gcache/gcache_z_bench_test.go +++ b/g/os/gcache/gcache_z_bench_test.go @@ -1,15 +1,15 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" -benchmem package gcache_test import ( - "gitee.com/johng/gf/g/os/gcache" + "github.com/gogf/gf/g/os/gcache" "testing" "sync" ) diff --git a/g/os/gcache/gcache_z_unit_1_test.go b/g/os/gcache/gcache_z_unit_1_test.go index f978a2939..f680afc9a 100644 --- a/g/os/gcache/gcache_z_unit_1_test.go +++ b/g/os/gcache/gcache_z_unit_1_test.go @@ -1,16 +1,16 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" -benchmem package gcache_test import ( - "gitee.com/johng/gf/g/os/gcache" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g/os/gcache" + "github.com/gogf/gf/g/test/gtest" "testing" "time" ) diff --git a/g/os/gcfg/gcfg.go b/g/os/gcfg/gcfg.go index aabea3106..7a606b85b 100644 --- a/g/os/gcfg/gcfg.go +++ b/g/os/gcfg/gcfg.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gcfg provides reading, caching and managing for configuration files. // @@ -14,15 +14,15 @@ import ( "bytes" "errors" "fmt" - "gitee.com/johng/gf/g/container/garray" - "gitee.com/johng/gf/g/container/gmap" - "gitee.com/johng/gf/g/container/gtype" - "gitee.com/johng/gf/g/container/gvar" - "gitee.com/johng/gf/g/encoding/gjson" - "gitee.com/johng/gf/g/os/gfile" - "gitee.com/johng/gf/g/os/gfsnotify" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gspath" + "github.com/gogf/gf/g/container/garray" + "github.com/gogf/gf/g/container/gmap" + "github.com/gogf/gf/g/container/gtype" + "github.com/gogf/gf/g/container/gvar" + "github.com/gogf/gf/g/encoding/gjson" + "github.com/gogf/gf/g/os/gfile" + "github.com/gogf/gf/g/os/gfsnotify" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gspath" ) const ( diff --git a/g/os/gcmd/gcmd.go b/g/os/gcmd/gcmd.go index f41af3053..4fe997010 100644 --- a/g/os/gcmd/gcmd.go +++ b/g/os/gcmd/gcmd.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // // Package gcmd provides console operations, like options/values reading and command running. diff --git a/g/os/gcron/gcron.go b/g/os/gcron/gcron.go index 733e68764..e983be5c0 100644 --- a/g/os/gcron/gcron.go +++ b/g/os/gcron/gcron.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gcron implements a cron pattern parser and job runner. // @@ -10,7 +10,7 @@ package gcron import ( - "gitee.com/johng/gf/g/os/gtimer" + "github.com/gogf/gf/g/os/gtimer" "math" "time" ) diff --git a/g/os/gcron/gcron_cron.go b/g/os/gcron/gcron_cron.go index 6668798ca..0de5c8b21 100644 --- a/g/os/gcron/gcron_cron.go +++ b/g/os/gcron/gcron_cron.go @@ -1,18 +1,18 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gcron import ( "errors" "fmt" - "gitee.com/johng/gf/g/container/garray" - "gitee.com/johng/gf/g/container/gmap" - "gitee.com/johng/gf/g/container/gtype" - "gitee.com/johng/gf/g/os/gtimer" + "github.com/gogf/gf/g/container/garray" + "github.com/gogf/gf/g/container/gmap" + "github.com/gogf/gf/g/container/gtype" + "github.com/gogf/gf/g/os/gtimer" "time" ) diff --git a/g/os/gcron/gcron_entry.go b/g/os/gcron/gcron_entry.go index 521e518be..267cecbef 100644 --- a/g/os/gcron/gcron_entry.go +++ b/g/os/gcron/gcron_entry.go @@ -1,13 +1,13 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gcron import ( - "gitee.com/johng/gf/g/os/gtimer" + "github.com/gogf/gf/g/os/gtimer" "strconv" "time" ) diff --git a/g/os/gcron/gcron_schedule.go b/g/os/gcron/gcron_schedule.go index b20c5f38b..029d8eb78 100644 --- a/g/os/gcron/gcron_schedule.go +++ b/g/os/gcron/gcron_schedule.go @@ -1,15 +1,15 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gcron import ( "errors" "fmt" - "gitee.com/johng/gf/g/text/gregex" + "github.com/gogf/gf/g/text/gregex" "strconv" "strings" "time" diff --git a/g/os/gcron/gcron_unit_1_test.go b/g/os/gcron/gcron_unit_1_test.go index 7a68981ce..01072f05f 100644 --- a/g/os/gcron/gcron_unit_1_test.go +++ b/g/os/gcron/gcron_unit_1_test.go @@ -1,16 +1,16 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gcron_test import ( - "gitee.com/johng/gf/g/container/garray" - "gitee.com/johng/gf/g/os/gcron" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g/container/garray" + "github.com/gogf/gf/g/os/gcron" + "github.com/gogf/gf/g/test/gtest" "testing" "time" ) diff --git a/g/os/gcron/gcron_unit_2_test.go b/g/os/gcron/gcron_unit_2_test.go index 818e9d65f..b2e51aeb4 100644 --- a/g/os/gcron/gcron_unit_2_test.go +++ b/g/os/gcron/gcron_unit_2_test.go @@ -1,17 +1,17 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gcron_test import ( - "gitee.com/johng/gf/g/container/garray" - "gitee.com/johng/gf/g/os/gcron" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g/container/garray" + "github.com/gogf/gf/g/os/gcron" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/test/gtest" "testing" "time" ) diff --git a/g/os/gcron/gcron_z_bench_test.go b/g/os/gcron/gcron_z_bench_test.go index 397b390f3..f3e908c6a 100644 --- a/g/os/gcron/gcron_z_bench_test.go +++ b/g/os/gcron/gcron_z_bench_test.go @@ -1,13 +1,13 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gcron_test import ( - "gitee.com/johng/gf/g/os/gcron" + "github.com/gogf/gf/g/os/gcron" "testing" ) diff --git a/g/os/gcron/gcron_z_example_1_test.go b/g/os/gcron/gcron_z_example_1_test.go index 4f5b6db13..2c9ece967 100644 --- a/g/os/gcron/gcron_z_example_1_test.go +++ b/g/os/gcron/gcron_z_example_1_test.go @@ -1,15 +1,15 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gcron_test import ( - "gitee.com/johng/gf/g/os/gcron" - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g/os/gcron" + "github.com/gogf/gf/g/os/glog" "time" ) diff --git a/g/os/genv/genv.go b/g/os/genv/genv.go index 89f8c694c..fa377d671 100644 --- a/g/os/genv/genv.go +++ b/g/os/genv/genv.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package genv provides operations for environment variables of system. // diff --git a/g/os/gfcache/gfcache.go b/g/os/gfcache/gfcache.go index 36a429889..332f873e0 100644 --- a/g/os/gfcache/gfcache.go +++ b/g/os/gfcache/gfcache.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gfcache provides reading and caching for file contents. // @@ -10,8 +10,8 @@ package gfcache import ( - "gitee.com/johng/gf/g/container/gmap" - "gitee.com/johng/gf/g/container/gtype" + "github.com/gogf/gf/g/container/gmap" + "github.com/gogf/gf/g/container/gtype" ) type Cache struct { diff --git a/g/os/gfcache/gfcache_cache.go b/g/os/gfcache/gfcache_cache.go index 0021150f9..72e7bff5c 100644 --- a/g/os/gfcache/gfcache_cache.go +++ b/g/os/gfcache/gfcache_cache.go @@ -1,15 +1,15 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 文件缓存. package gfcache import ( - "gitee.com/johng/gf/g/os/gfile" - "gitee.com/johng/gf/g/os/gfsnotify" + "github.com/gogf/gf/g/os/gfile" + "github.com/gogf/gf/g/os/gfsnotify" ) // 设置容量大小(byte) diff --git a/g/os/gfile/gfile.go b/g/os/gfile/gfile.go index 3348c31e8..9dc708bfb 100644 --- a/g/os/gfile/gfile.go +++ b/g/os/gfile/gfile.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gfile provides easy-to-use operations for file system. // @@ -13,10 +13,10 @@ import ( "bytes" "errors" "fmt" - "gitee.com/johng/gf/g/container/gtype" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/text/gregex" - "gitee.com/johng/gf/g/text/gstr" + "github.com/gogf/gf/g/container/gtype" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/text/gregex" + "github.com/gogf/gf/g/text/gstr" "io" "os" "os/exec" diff --git a/g/os/gfile/gfile_contents.go b/g/os/gfile/gfile_contents.go index a76fbde39..052254345 100644 --- a/g/os/gfile/gfile_contents.go +++ b/g/os/gfile/gfile_contents.go @@ -1,8 +1,8 @@ -// Copyright 2017-2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017-2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gfile diff --git a/g/os/gfile/gfile_size.go b/g/os/gfile/gfile_size.go index ad82aadf6..463b443ba 100644 --- a/g/os/gfile/gfile_size.go +++ b/g/os/gfile/gfile_size.go @@ -1,8 +1,8 @@ -// Copyright 2017-2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017-2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gfile diff --git a/g/os/gfile/gfile_time.go b/g/os/gfile/gfile_time.go index ba0d09d4b..9391c1827 100644 --- a/g/os/gfile/gfile_time.go +++ b/g/os/gfile/gfile_time.go @@ -1,8 +1,8 @@ -// Copyright 2017-2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017-2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gfile diff --git a/g/os/gflock/gflock.go b/g/os/gflock/gflock.go index f21132d4e..0cb17c9e9 100644 --- a/g/os/gflock/gflock.go +++ b/g/os/gflock/gflock.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gflock implements a thread-safe sync.Locker interface for file locking. // @@ -11,8 +11,8 @@ package gflock import ( "sync" - "gitee.com/johng/gf/third/github.com/theckman/go-flock" - "gitee.com/johng/gf/g/os/gfile" + "github.com/gogf/gf/third/github.com/theckman/go-flock" + "github.com/gogf/gf/g/os/gfile" ) // 文件锁 diff --git a/g/os/gfpool/gfpool.go b/g/os/gfpool/gfpool.go index 0d0928e82..95a1df852 100644 --- a/g/os/gfpool/gfpool.go +++ b/g/os/gfpool/gfpool.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gfpool provides io-reusable pool for file pointer. // @@ -11,10 +11,10 @@ package gfpool import ( "fmt" - "gitee.com/johng/gf/g/container/gmap" - "gitee.com/johng/gf/g/container/gpool" - "gitee.com/johng/gf/g/container/gtype" - "gitee.com/johng/gf/g/os/gfsnotify" + "github.com/gogf/gf/g/container/gmap" + "github.com/gogf/gf/g/container/gpool" + "github.com/gogf/gf/g/container/gtype" + "github.com/gogf/gf/g/os/gfsnotify" "os" "sync" ) diff --git a/g/os/gfsnotify/gfsnotify.go b/g/os/gfsnotify/gfsnotify.go index 71ecbdaa6..322efc2be 100644 --- a/g/os/gfsnotify/gfsnotify.go +++ b/g/os/gfsnotify/gfsnotify.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gfsnotify provides a platform-independent interface for file system notifications. // @@ -12,12 +12,12 @@ package gfsnotify import ( "errors" "fmt" - "gitee.com/johng/gf/g/container/glist" - "gitee.com/johng/gf/g/container/gmap" - "gitee.com/johng/gf/g/container/gqueue" - "gitee.com/johng/gf/g/container/gtype" - "gitee.com/johng/gf/g/os/gcache" - "gitee.com/johng/gf/third/github.com/fsnotify/fsnotify" + "github.com/gogf/gf/g/container/glist" + "github.com/gogf/gf/g/container/gmap" + "github.com/gogf/gf/g/container/gqueue" + "github.com/gogf/gf/g/container/gtype" + "github.com/gogf/gf/g/os/gcache" + "github.com/gogf/gf/third/github.com/fsnotify/fsnotify" ) // 监听管理对象 diff --git a/g/os/gfsnotify/gfsnotify_event.go b/g/os/gfsnotify/gfsnotify_event.go index cb9eb9cbc..90668049b 100644 --- a/g/os/gfsnotify/gfsnotify_event.go +++ b/g/os/gfsnotify/gfsnotify_event.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // ThIs Source Code Form Is subject to the terms of the MIT License. // If a copy of the MIT was not dIstributed with thIs file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gfsnotify diff --git a/g/os/gfsnotify/gfsnotify_filefunc.go b/g/os/gfsnotify/gfsnotify_filefunc.go index 97f810263..109b65189 100644 --- a/g/os/gfsnotify/gfsnotify_filefunc.go +++ b/g/os/gfsnotify/gfsnotify_filefunc.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // ThIs Source Code Form Is subject to the terms of the MIT License. // If a copy of the MIT was not dIstributed with thIs file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gfsnotify diff --git a/g/os/gfsnotify/gfsnotify_watcher.go b/g/os/gfsnotify/gfsnotify_watcher.go index 4e39f09cb..e80da5878 100644 --- a/g/os/gfsnotify/gfsnotify_watcher.go +++ b/g/os/gfsnotify/gfsnotify_watcher.go @@ -1,15 +1,15 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gfsnotify import ( "errors" "fmt" - "gitee.com/johng/gf/g/container/glist" + "github.com/gogf/gf/g/container/glist" ) // 添加监控,path参数支持文件或者目录路径,recursive为非必需参数,默认为非递归监控(当path为目录时)。 diff --git a/g/os/gfsnotify/gfsnotify_watcher_loop.go b/g/os/gfsnotify/gfsnotify_watcher_loop.go index 772656e20..1927402c1 100644 --- a/g/os/gfsnotify/gfsnotify_watcher_loop.go +++ b/g/os/gfsnotify/gfsnotify_watcher_loop.go @@ -1,13 +1,13 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gfsnotify import ( - "gitee.com/johng/gf/g/container/glist" + "github.com/gogf/gf/g/container/glist" ) // 监听循环 diff --git a/g/os/glog/glog.go b/g/os/glog/glog.go index b6e3d38f6..df130eef4 100644 --- a/g/os/glog/glog.go +++ b/g/os/glog/glog.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // @author john, zseeker // Package glog implements powerful and easy-to-use levelled logging functionality. @@ -12,8 +12,8 @@ package glog import ( - "gitee.com/johng/gf/g/container/gtype" - "gitee.com/johng/gf/g/internal/cmdenv" + "github.com/gogf/gf/g/container/gtype" + "github.com/gogf/gf/g/internal/cmdenv" "io" ) diff --git a/g/os/glog/glog_logger.go b/g/os/glog/glog_logger.go index 3bf25c39a..df3fa9be9 100644 --- a/g/os/glog/glog_logger.go +++ b/g/os/glog/glog_logger.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // @author john, zseeker package glog @@ -10,12 +10,12 @@ package glog import ( "errors" "fmt" - "gitee.com/johng/gf/g/container/gtype" - "gitee.com/johng/gf/g/os/gfile" - "gitee.com/johng/gf/g/os/gfpool" - "gitee.com/johng/gf/g/os/gmlock" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/text/gregex" + "github.com/gogf/gf/g/container/gtype" + "github.com/gogf/gf/g/os/gfile" + "github.com/gogf/gf/g/os/gfpool" + "github.com/gogf/gf/g/os/gmlock" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/text/gregex" "io" "os" "runtime" diff --git a/g/os/glog/glog_logger_linkop.go b/g/os/glog/glog_logger_linkop.go index 0b4c87b4b..8636c0648 100644 --- a/g/os/glog/glog_logger_linkop.go +++ b/g/os/glog/glog_logger_linkop.go @@ -1,13 +1,13 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package glog import ( - "gitee.com/johng/gf/g/os/gfile" + "github.com/gogf/gf/g/os/gfile" "io" ) diff --git a/g/os/gmlock/gmlock.go b/g/os/gmlock/gmlock.go index 29467d3c2..ee785b27a 100644 --- a/g/os/gmlock/gmlock.go +++ b/g/os/gmlock/gmlock.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gmlock implements a thread-safe memory locker. // diff --git a/g/os/gmlock/gmlock_locker.go b/g/os/gmlock/gmlock_locker.go index 5c5fcb385..ae2b3acb8 100644 --- a/g/os/gmlock/gmlock_locker.go +++ b/g/os/gmlock/gmlock_locker.go @@ -1,14 +1,14 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gmlock import ( - "gitee.com/johng/gf/g/container/gmap" - "gitee.com/johng/gf/g/os/gtimer" + "github.com/gogf/gf/g/container/gmap" + "github.com/gogf/gf/g/os/gtimer" "time" ) diff --git a/g/os/gmlock/gmlock_mutex.go b/g/os/gmlock/gmlock_mutex.go index c5c2ccab4..8bc7aaadb 100644 --- a/g/os/gmlock/gmlock_mutex.go +++ b/g/os/gmlock/gmlock_mutex.go @@ -1,13 +1,13 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gmlock import ( - "gitee.com/johng/gf/g/container/gtype" + "github.com/gogf/gf/g/container/gtype" "sync" ) diff --git a/g/os/gmlock/gmlock_unit_lock_test.go b/g/os/gmlock/gmlock_unit_lock_test.go index 6fa0e8920..5d0ca1e63 100644 --- a/g/os/gmlock/gmlock_unit_lock_test.go +++ b/g/os/gmlock/gmlock_unit_lock_test.go @@ -1,15 +1,15 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gmlock_test import ( - "gitee.com/johng/gf/g/container/garray" - "gitee.com/johng/gf/g/os/gmlock" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g/container/garray" + "github.com/gogf/gf/g/os/gmlock" + "github.com/gogf/gf/g/test/gtest" "testing" "time" ) diff --git a/g/os/gmlock/gmlock_unit_rlock_test.go b/g/os/gmlock/gmlock_unit_rlock_test.go index 1ae9daf53..176d375da 100644 --- a/g/os/gmlock/gmlock_unit_rlock_test.go +++ b/g/os/gmlock/gmlock_unit_rlock_test.go @@ -1,15 +1,15 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gmlock_test import ( - "gitee.com/johng/gf/g/container/garray" - "gitee.com/johng/gf/g/os/gmlock" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g/container/garray" + "github.com/gogf/gf/g/os/gmlock" + "github.com/gogf/gf/g/test/gtest" "testing" "time" ) diff --git a/g/os/gproc/gproc.go b/g/os/gproc/gproc.go index af6e28130..c1bb2e27c 100644 --- a/g/os/gproc/gproc.go +++ b/g/os/gproc/gproc.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gproc implements communication and management of processes. // @@ -14,12 +14,12 @@ package gproc import ( "os" "time" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/util/gconv" "strings" "bytes" "io" "runtime" - "gitee.com/johng/gf/g/os/gfile" + "github.com/gogf/gf/g/os/gfile" ) const ( diff --git a/g/os/gproc/gproc_comm.go b/g/os/gproc/gproc_comm.go index 7728c0897..253b59883 100644 --- a/g/os/gproc/gproc_comm.go +++ b/g/os/gproc/gproc_comm.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // "不要通过共享内存来通信,而应该通过通信来共享内存" @@ -10,9 +10,9 @@ package gproc import ( "os" - "gitee.com/johng/gf/g/os/gfile" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/container/gmap" + "github.com/gogf/gf/g/os/gfile" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/container/gmap" ) // 本地进程通信接收消息队列(按照分组进行构建的map,键值为*gqueue.Queue对象) diff --git a/g/os/gproc/gproc_comm_receive.go b/g/os/gproc/gproc_comm_receive.go index 9407fb8be..e8a7195ac 100644 --- a/g/os/gproc/gproc_comm_receive.go +++ b/g/os/gproc/gproc_comm_receive.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // "不要通过共享内存来通信,而应该通过通信来共享内存" @@ -11,13 +11,13 @@ package gproc import ( "fmt" "net" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/net/gtcp" - "gitee.com/johng/gf/g/os/gfile" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/encoding/gbinary" - "gitee.com/johng/gf/g/container/gqueue" - "gitee.com/johng/gf/g/container/gtype" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/net/gtcp" + "github.com/gogf/gf/g/os/gfile" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/encoding/gbinary" + "github.com/gogf/gf/g/container/gqueue" + "github.com/gogf/gf/g/container/gtype" ) const ( diff --git a/g/os/gproc/gproc_comm_send.go b/g/os/gproc/gproc_comm_send.go index 334e2de92..c38efc6e0 100644 --- a/g/os/gproc/gproc_comm_send.go +++ b/g/os/gproc/gproc_comm_send.go @@ -1,21 +1,21 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gproc import ( - "gitee.com/johng/gf/g/net/gtcp" - "gitee.com/johng/gf/g/os/gfile" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/encoding/gbinary" + "github.com/gogf/gf/g/net/gtcp" + "github.com/gogf/gf/g/os/gfile" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/encoding/gbinary" "fmt" "errors" "time" "bytes" - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g/os/glog" "io" ) diff --git a/g/os/gproc/gproc_manager.go b/g/os/gproc/gproc_manager.go index ed12d4ac7..42d4ad3fb 100644 --- a/g/os/gproc/gproc_manager.go +++ b/g/os/gproc/gproc_manager.go @@ -1,15 +1,15 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 进程管理. package gproc import ( "os" - "gitee.com/johng/gf/g/container/gmap" + "github.com/gogf/gf/g/container/gmap" ) // 进程管理器 diff --git a/g/os/gproc/gproc_proccess.go b/g/os/gproc/gproc_proccess.go index 9884eb800..7d25b69d4 100644 --- a/g/os/gproc/gproc_proccess.go +++ b/g/os/gproc/gproc_proccess.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gproc diff --git a/g/os/grpool/grpool.go b/g/os/grpool/grpool.go index 78b084d3b..82a0c6318 100644 --- a/g/os/grpool/grpool.go +++ b/g/os/grpool/grpool.go @@ -1,8 +1,8 @@ -// Copyright 2017-2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017-2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package grpool implements a goroutine reusable pool. // @@ -12,8 +12,8 @@ package grpool import ( - "gitee.com/johng/gf/g/container/glist" - "gitee.com/johng/gf/g/container/gtype" + "github.com/gogf/gf/g/container/glist" + "github.com/gogf/gf/g/container/gtype" "math" ) diff --git a/g/os/grpool/grpool_bench_1_test.go b/g/os/grpool/grpool_bench_1_test.go index 9b58e3ece..cbdbd6fa6 100644 --- a/g/os/grpool/grpool_bench_1_test.go +++ b/g/os/grpool/grpool_bench_1_test.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" @@ -10,7 +10,7 @@ package grpool_test import ( "testing" - "gitee.com/johng/gf/g/os/grpool" + "github.com/gogf/gf/g/os/grpool" ) func increment() { diff --git a/g/os/grpool/grpool_bench_2_test.go b/g/os/grpool/grpool_bench_2_test.go index 7f301309a..27ce705e2 100644 --- a/g/os/grpool/grpool_bench_2_test.go +++ b/g/os/grpool/grpool_bench_2_test.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" -count=1 @@ -10,7 +10,7 @@ package grpool_test import ( "testing" - "gitee.com/johng/gf/g/os/grpool" + "github.com/gogf/gf/g/os/grpool" ) var n = 500000 diff --git a/g/os/gspath/gspath.go b/g/os/gspath/gspath.go index e8583307d..b6133194e 100644 --- a/g/os/gspath/gspath.go +++ b/g/os/gspath/gspath.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gspath implements file index and search for folders. // @@ -13,11 +13,11 @@ package gspath import ( "errors" "fmt" - "gitee.com/johng/gf/g/container/garray" - "gitee.com/johng/gf/g/container/gmap" - "gitee.com/johng/gf/g/os/gfile" - "gitee.com/johng/gf/g/os/gfsnotify" - "gitee.com/johng/gf/g/text/gstr" + "github.com/gogf/gf/g/container/garray" + "github.com/gogf/gf/g/container/gmap" + "github.com/gogf/gf/g/os/gfile" + "github.com/gogf/gf/g/os/gfsnotify" + "github.com/gogf/gf/g/text/gstr" "runtime" "sort" "strings" diff --git a/g/os/gspath/gspath_test.go b/g/os/gspath/gspath_test.go index cf35de01d..707bcdcf8 100644 --- a/g/os/gspath/gspath_test.go +++ b/g/os/gspath/gspath_test.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gspath diff --git a/g/os/gtime/gtime.go b/g/os/gtime/gtime.go index f0e9d911b..749a8e9fe 100644 --- a/g/os/gtime/gtime.go +++ b/g/os/gtime/gtime.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gtime provides functionality for measuring and displaying time. // @@ -11,7 +11,7 @@ package gtime import ( "errors" - "gitee.com/johng/gf/g/text/gregex" + "github.com/gogf/gf/g/text/gregex" "regexp" "strconv" "strings" diff --git a/g/os/gtime/gtime_format.go b/g/os/gtime/gtime_format.go index 959e1b6e9..711b17de4 100644 --- a/g/os/gtime/gtime_format.go +++ b/g/os/gtime/gtime_format.go @@ -1,14 +1,14 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtime import ( "bytes" - "gitee.com/johng/gf/g/text/gregex" + "github.com/gogf/gf/g/text/gregex" "strings" ) diff --git a/g/os/gtime/gtime_time.go b/g/os/gtime/gtime_time.go index 36067a899..3256945e6 100644 --- a/g/os/gtime/gtime_time.go +++ b/g/os/gtime/gtime_time.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtime diff --git a/g/os/gtime/gtime_z_bench_test.go b/g/os/gtime/gtime_z_bench_test.go index abd08a9c9..4375df43d 100644 --- a/g/os/gtime/gtime_z_bench_test.go +++ b/g/os/gtime/gtime_z_bench_test.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtime diff --git a/g/os/gtimer/gtimer.go b/g/os/gtimer/gtimer.go index be1d87672..7c5418062 100644 --- a/g/os/gtimer/gtimer.go +++ b/g/os/gtimer/gtimer.go @@ -1,8 +1,8 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gtimer implements Hierarchical Timing Wheel for interval/delayed jobs running and management. // @@ -13,7 +13,7 @@ package gtimer import ( - "gitee.com/johng/gf/g/internal/cmdenv" + "github.com/gogf/gf/g/internal/cmdenv" "math" "time" ) diff --git a/g/os/gtimer/gtimer_entry.go b/g/os/gtimer/gtimer_entry.go index c7f3fdaa6..0b6c9ba62 100644 --- a/g/os/gtimer/gtimer_entry.go +++ b/g/os/gtimer/gtimer_entry.go @@ -1,13 +1,13 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtimer import ( - "gitee.com/johng/gf/g/container/gtype" + "github.com/gogf/gf/g/container/gtype" "time" ) diff --git a/g/os/gtimer/gtimer_loop.go b/g/os/gtimer/gtimer_loop.go index a61553d87..7e90afcca 100644 --- a/g/os/gtimer/gtimer_loop.go +++ b/g/os/gtimer/gtimer_loop.go @@ -1,13 +1,13 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtimer import ( - "gitee.com/johng/gf/g/container/glist" + "github.com/gogf/gf/g/container/glist" "time" ) diff --git a/g/os/gtimer/gtimer_timer.go b/g/os/gtimer/gtimer_timer.go index 9d7d01753..27966598b 100644 --- a/g/os/gtimer/gtimer_timer.go +++ b/g/os/gtimer/gtimer_timer.go @@ -1,14 +1,14 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtimer import ( - "gitee.com/johng/gf/g/container/glist" - "gitee.com/johng/gf/g/container/gtype" + "github.com/gogf/gf/g/container/glist" + "github.com/gogf/gf/g/container/gtype" "time" ) diff --git a/g/os/gtimer/gtimer_z_bench_test.go b/g/os/gtimer/gtimer_z_bench_test.go index 441bfd676..fe237f74d 100644 --- a/g/os/gtimer/gtimer_z_bench_test.go +++ b/g/os/gtimer/gtimer_z_bench_test.go @@ -1,13 +1,13 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtimer_test import ( - "gitee.com/johng/gf/g/os/gtimer" + "github.com/gogf/gf/g/os/gtimer" "testing" "time" ) diff --git a/g/os/gtimer/gtimer_z_example_test.go b/g/os/gtimer/gtimer_z_example_test.go index 73db2d8da..3036629d8 100644 --- a/g/os/gtimer/gtimer_z_example_test.go +++ b/g/os/gtimer/gtimer_z_example_test.go @@ -1,14 +1,14 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gtimer_test import ( "fmt" - "gitee.com/johng/gf/g/os/gtimer" + "github.com/gogf/gf/g/os/gtimer" "time" ) diff --git a/g/os/gtimer/gtimer_z_unit_0_test.go b/g/os/gtimer/gtimer_z_unit_0_test.go index 12e920bec..ad8b95519 100644 --- a/g/os/gtimer/gtimer_z_unit_0_test.go +++ b/g/os/gtimer/gtimer_z_unit_0_test.go @@ -1,17 +1,17 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package functions package gtimer_test import ( - "gitee.com/johng/gf/g/container/garray" - "gitee.com/johng/gf/g/os/gtimer" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g/container/garray" + "github.com/gogf/gf/g/os/gtimer" + "github.com/gogf/gf/g/test/gtest" "testing" "time" ) diff --git a/g/os/gtimer/gtimer_z_unit_1_test.go b/g/os/gtimer/gtimer_z_unit_1_test.go index 318766ffd..237404166 100644 --- a/g/os/gtimer/gtimer_z_unit_1_test.go +++ b/g/os/gtimer/gtimer_z_unit_1_test.go @@ -1,17 +1,17 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Timer Operations package gtimer_test import ( - "gitee.com/johng/gf/g/container/garray" - "gitee.com/johng/gf/g/os/gtimer" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g/container/garray" + "github.com/gogf/gf/g/os/gtimer" + "github.com/gogf/gf/g/test/gtest" "testing" "time" ) diff --git a/g/os/gtimer/gtimer_z_unit_2_test.go b/g/os/gtimer/gtimer_z_unit_2_test.go index be6cdbb18..63ba88b7f 100644 --- a/g/os/gtimer/gtimer_z_unit_2_test.go +++ b/g/os/gtimer/gtimer_z_unit_2_test.go @@ -1,17 +1,17 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Entry Operations package gtimer_test import ( - "gitee.com/johng/gf/g/container/garray" - "gitee.com/johng/gf/g/os/gtimer" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g/container/garray" + "github.com/gogf/gf/g/os/gtimer" + "github.com/gogf/gf/g/test/gtest" "testing" "time" ) diff --git a/g/os/gview/gview.go b/g/os/gview/gview.go index 615b5f49e..a6cba4cc8 100644 --- a/g/os/gview/gview.go +++ b/g/os/gview/gview.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gview implements a template engine based on text/template. // @@ -13,19 +13,19 @@ import ( "bytes" "errors" "fmt" - "gitee.com/johng/gf" - "gitee.com/johng/gf/g/container/garray" - "gitee.com/johng/gf/g/encoding/ghash" - "gitee.com/johng/gf/g/encoding/ghtml" - "gitee.com/johng/gf/g/encoding/gurl" - "gitee.com/johng/gf/g/os/gfcache" - "gitee.com/johng/gf/g/os/gfile" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gspath" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/os/gview/internal/text/template" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/text/gstr" + "github.com/gogf/gf" + "github.com/gogf/gf/g/container/garray" + "github.com/gogf/gf/g/encoding/ghash" + "github.com/gogf/gf/g/encoding/ghtml" + "github.com/gogf/gf/g/encoding/gurl" + "github.com/gogf/gf/g/os/gfcache" + "github.com/gogf/gf/g/os/gfile" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gspath" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gview/internal/text/template" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/text/gstr" "strings" "sync" ) diff --git a/g/os/gview/internal/text/template/exec.go b/g/os/gview/internal/text/template/exec.go index 365c2958c..fe1488fbd 100644 --- a/g/os/gview/internal/text/template/exec.go +++ b/g/os/gview/internal/text/template/exec.go @@ -12,7 +12,7 @@ import ( "runtime" "sort" "strings" - "gitee.com/johng/gf/g/os/gview/internal/text/template/parse" + "github.com/gogf/gf/g/os/gview/internal/text/template/parse" ) // maxExecDepth specifies the maximum stack depth of templates within diff --git a/g/os/gview/internal/text/template/template.go b/g/os/gview/internal/text/template/template.go index 236f8289c..16d95e8e6 100644 --- a/g/os/gview/internal/text/template/template.go +++ b/g/os/gview/internal/text/template/template.go @@ -7,7 +7,7 @@ package template import ( "reflect" "sync" - "gitee.com/johng/gf/g/os/gview/internal/text/template/parse" + "github.com/gogf/gf/g/os/gview/internal/text/template/parse" ) // common holds the information shared by related templates. diff --git a/g/test/gtest/gtest.go b/g/test/gtest/gtest.go index f2cfd7d9c..e44266d82 100644 --- a/g/test/gtest/gtest.go +++ b/g/test/gtest/gtest.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gtest provides simple and useful test utils. // @@ -11,7 +11,7 @@ package gtest import ( "fmt" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/util/gconv" "os" "reflect" "regexp" diff --git a/g/text/gregex/gregex.go b/g/text/gregex/gregex.go index fa005d3a0..f956419ed 100644 --- a/g/text/gregex/gregex.go +++ b/g/text/gregex/gregex.go @@ -1,8 +1,8 @@ -// Copyright 2017-2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017-2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gregex provides high performance API for regular expression functionality. // diff --git a/g/text/gregex/gregex_cache.go b/g/text/gregex/gregex_cache.go index ead3f49f6..b0a68fb0b 100644 --- a/g/text/gregex/gregex_cache.go +++ b/g/text/gregex/gregex_cache.go @@ -1,8 +1,8 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gregex diff --git a/g/text/gregex/gregex_z_bench_test.go b/g/text/gregex/gregex_z_bench_test.go index 360694dbd..0454c24c7 100644 --- a/g/text/gregex/gregex_z_bench_test.go +++ b/g/text/gregex/gregex_z_bench_test.go @@ -1,8 +1,8 @@ -// Copyright 2017-2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017-2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" diff --git a/g/text/gstr/gstr.go b/g/text/gstr/gstr.go index 6b5b5d1ab..64fbab900 100644 --- a/g/text/gstr/gstr.go +++ b/g/text/gstr/gstr.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gstr provides functions for string handling. // @@ -12,7 +12,7 @@ package gstr import ( "bytes" "fmt" - "gitee.com/johng/gf/g/util/grand" + "github.com/gogf/gf/g/util/grand" "math" "strconv" "strings" diff --git a/g/text/gstr/gstr_levenshtein.go b/g/text/gstr/gstr_levenshtein.go index c0870ca5d..e69e4b652 100644 --- a/g/text/gstr/gstr_levenshtein.go +++ b/g/text/gstr/gstr_levenshtein.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gstr diff --git a/g/text/gstr/gstr_parse.go b/g/text/gstr/gstr_parse.go index 8628d26c4..e18135739 100644 --- a/g/text/gstr/gstr_parse.go +++ b/g/text/gstr/gstr_parse.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gstr diff --git a/g/text/gstr/gstr_pos.go b/g/text/gstr/gstr_pos.go index 9af1bd6dd..a4f2d037b 100644 --- a/g/text/gstr/gstr_pos.go +++ b/g/text/gstr/gstr_pos.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gstr diff --git a/g/text/gstr/gstr_similartext.go b/g/text/gstr/gstr_similartext.go index 1c2761b97..e8aead20c 100644 --- a/g/text/gstr/gstr_similartext.go +++ b/g/text/gstr/gstr_similartext.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gstr diff --git a/g/text/gstr/gstr_soundex.go b/g/text/gstr/gstr_soundex.go index 7acc96c69..82cf81d57 100644 --- a/g/text/gstr/gstr_soundex.go +++ b/g/text/gstr/gstr_soundex.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gstr diff --git a/g/text/gstr/gstr_trim.go b/g/text/gstr/gstr_trim.go index ffd0e4dda..833280f1c 100644 --- a/g/text/gstr/gstr_trim.go +++ b/g/text/gstr/gstr_trim.go @@ -1,8 +1,8 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gstr diff --git a/g/text/gstr/gstr_z_bench_test.go b/g/text/gstr/gstr_z_bench_test.go index 9e6b03701..49d037d79 100644 --- a/g/text/gstr/gstr_z_bench_test.go +++ b/g/text/gstr/gstr_z_bench_test.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" diff --git a/g/text/gstr/gstr_z_unit_pos_test.go b/g/text/gstr/gstr_z_unit_pos_test.go index 284f0455e..49bb339d5 100644 --- a/g/text/gstr/gstr_z_unit_pos_test.go +++ b/g/text/gstr/gstr_z_unit_pos_test.go @@ -1,16 +1,16 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" package gstr_test import ( - "gitee.com/johng/gf/g/text/gstr" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g/text/gstr" + "github.com/gogf/gf/g/test/gtest" "testing" ) diff --git a/g/text/gstr/gstr_z_unit_test.go b/g/text/gstr/gstr_z_unit_test.go index 68519cfd1..7f4e828db 100644 --- a/g/text/gstr/gstr_z_unit_test.go +++ b/g/text/gstr/gstr_z_unit_test.go @@ -1,17 +1,17 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" package gstr_test import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/text/gstr" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/text/gstr" + "github.com/gogf/gf/g/test/gtest" "testing" ) diff --git a/g/util/gconv/gconv.go b/g/util/gconv/gconv.go index 9ea0a8cc5..16d06ca97 100644 --- a/g/util/gconv/gconv.go +++ b/g/util/gconv/gconv.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gconv implements powerful and easy-to-use converting functionality for any types of variables. // @@ -12,7 +12,7 @@ package gconv import ( "encoding/json" - "gitee.com/johng/gf/g/encoding/gbinary" + "github.com/gogf/gf/g/encoding/gbinary" "strconv" "strings" ) diff --git a/g/util/gconv/gconv_map.go b/g/util/gconv/gconv_map.go index 5f046ffc9..7f653f42d 100644 --- a/g/util/gconv/gconv_map.go +++ b/g/util/gconv/gconv_map.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gconv diff --git a/g/util/gconv/gconv_slice.go b/g/util/gconv/gconv_slice.go index 30919872e..14b62e834 100644 --- a/g/util/gconv/gconv_slice.go +++ b/g/util/gconv/gconv_slice.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gconv diff --git a/g/util/gconv/gconv_struct.go b/g/util/gconv/gconv_struct.go index b6aec629e..cf87ac1b5 100644 --- a/g/util/gconv/gconv_struct.go +++ b/g/util/gconv/gconv_struct.go @@ -1,16 +1,16 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gconv import ( "errors" "fmt" - "gitee.com/johng/gf/g/text/gstr" - "gitee.com/johng/gf/third/github.com/fatih/structs" + "github.com/gogf/gf/g/text/gstr" + "github.com/gogf/gf/third/github.com/fatih/structs" "reflect" "strings" ) diff --git a/g/util/gconv/gconv_time.go b/g/util/gconv/gconv_time.go index 4741b5253..e7d0a79f3 100644 --- a/g/util/gconv/gconv_time.go +++ b/g/util/gconv/gconv_time.go @@ -1,15 +1,15 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gconv import ( "time" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/text/gstr" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/text/gstr" ) // 将变量i转换为time.Time类型 diff --git a/g/util/gconv/gconv_z_bench_test.go b/g/util/gconv/gconv_z_bench_test.go index b740eb2ff..20259372c 100644 --- a/g/util/gconv/gconv_z_bench_test.go +++ b/g/util/gconv/gconv_z_bench_test.go @@ -1,8 +1,8 @@ -// Copyright 2017-2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017-2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" -benchmem diff --git a/g/util/gconv/gconv_z_unit_basic_test.go b/g/util/gconv/gconv_z_unit_basic_test.go index cca3b2c54..2c89407bf 100644 --- a/g/util/gconv/gconv_z_unit_basic_test.go +++ b/g/util/gconv/gconv_z_unit_basic_test.go @@ -1,14 +1,14 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gconv_test import ( - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/test/gtest" "testing" ) diff --git a/g/util/gconv/gconv_z_unit_map_test.go b/g/util/gconv/gconv_z_unit_map_test.go index 6815c4f52..f2403d43c 100644 --- a/g/util/gconv/gconv_z_unit_map_test.go +++ b/g/util/gconv/gconv_z_unit_map_test.go @@ -1,15 +1,15 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gconv_test import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/test/gtest" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/test/gtest" + "github.com/gogf/gf/g/util/gconv" "testing" ) diff --git a/g/util/gconv/gconv_z_unit_slice_test.go b/g/util/gconv/gconv_z_unit_slice_test.go index a334f8966..e6b1cb07f 100644 --- a/g/util/gconv/gconv_z_unit_slice_test.go +++ b/g/util/gconv/gconv_z_unit_slice_test.go @@ -1,14 +1,14 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gconv_test import ( - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/test/gtest" "testing" ) diff --git a/g/util/gconv/gconv_z_unit_struct_test.go b/g/util/gconv/gconv_z_unit_struct_test.go index 0659ef336..e8c1b5c13 100644 --- a/g/util/gconv/gconv_z_unit_struct_test.go +++ b/g/util/gconv/gconv_z_unit_struct_test.go @@ -1,15 +1,15 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gconv_test import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/test/gtest" "testing" ) diff --git a/g/util/gconv/gconv_z_unit_time_test.go b/g/util/gconv/gconv_z_unit_time_test.go index 86c9bfc37..69351fda6 100644 --- a/g/util/gconv/gconv_z_unit_time_test.go +++ b/g/util/gconv/gconv_z_unit_time_test.go @@ -1,15 +1,15 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gconv_test import ( - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/test/gtest" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/test/gtest" "testing" "time" ) diff --git a/g/util/gpage/gpage.go b/g/util/gpage/gpage.go index e06ba40d4..d00c3a274 100644 --- a/g/util/gpage/gpage.go +++ b/g/util/gpage/gpage.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gpage provides useful paging functionality for web pages. // @@ -13,10 +13,10 @@ import ( "fmt" "math" url2 "net/url" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/text/gregex" - "gitee.com/johng/gf/g/text/gstr" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/text/gregex" + "github.com/gogf/gf/g/text/gstr" "strings" ) diff --git a/g/util/grand/grand.go b/g/util/grand/grand.go index c085b73f5..7f4bd5306 100644 --- a/g/util/grand/grand.go +++ b/g/util/grand/grand.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package grand provides high performance API for random functionality. // diff --git a/g/util/grand/grand_intn.go b/g/util/grand/grand_intn.go index 06aa19c21..c45f72e90 100644 --- a/g/util/grand/grand_intn.go +++ b/g/util/grand/grand_intn.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package grand diff --git a/g/util/grand/grand_test.go b/g/util/grand/grand_test.go index d76a79d90..232da7525 100644 --- a/g/util/grand/grand_test.go +++ b/g/util/grand/grand_test.go @@ -1,15 +1,15 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" package grand_test import ( - "gitee.com/johng/gf/g/util/grand" + "github.com/gogf/gf/g/util/grand" "testing" ) diff --git a/g/util/gutil/gutil.go b/g/util/gutil/gutil.go index 6dfb4c139..770da4d49 100644 --- a/g/util/gutil/gutil.go +++ b/g/util/gutil/gutil.go @@ -1,8 +1,8 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gutil provides some uncategorized util functions. // @@ -13,7 +13,7 @@ import ( "bytes" "encoding/json" "fmt" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/util/gconv" "os" "reflect" "runtime" diff --git a/g/util/gutil/gutil_test.go b/g/util/gutil/gutil_test.go index 0e92c0252..1f95a09bb 100644 --- a/g/util/gutil/gutil_test.go +++ b/g/util/gutil/gutil_test.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // go test *.go -bench=".*" -benchmem diff --git a/g/util/gvalid/gvalid.go b/g/util/gvalid/gvalid.go index 4aaa27cab..bac057aff 100644 --- a/g/util/gvalid/gvalid.go +++ b/g/util/gvalid/gvalid.go @@ -1,8 +1,8 @@ -// Copyright 2017-2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017-2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // Package gvalid implements powerful and useful data/form validation functionality. // @@ -10,7 +10,7 @@ package gvalid import ( - "gitee.com/johng/gf/g/text/gregex" + "github.com/gogf/gf/g/text/gregex" "strings" ) diff --git a/g/util/gvalid/gvalid_check.go b/g/util/gvalid/gvalid_check.go index a6865fe97..5afdca138 100644 --- a/g/util/gvalid/gvalid_check.go +++ b/g/util/gvalid/gvalid_check.go @@ -1,19 +1,19 @@ -// Copyright 2017-2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017-2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gvalid import ( - "gitee.com/johng/gf/g/container/gmap" - "gitee.com/johng/gf/g/encoding/gjson" - "gitee.com/johng/gf/g/net/gipv4" - "gitee.com/johng/gf/g/net/gipv6" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/text/gregex" + "github.com/gogf/gf/g/container/gmap" + "github.com/gogf/gf/g/encoding/gjson" + "github.com/gogf/gf/g/net/gipv4" + "github.com/gogf/gf/g/net/gipv6" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/text/gregex" "regexp" "strconv" "strings" diff --git a/g/util/gvalid/gvalid_check_map.go b/g/util/gvalid/gvalid_check_map.go index 5ced2acc1..59ed3c7e9 100644 --- a/g/util/gvalid/gvalid_check_map.go +++ b/g/util/gvalid/gvalid_check_map.go @@ -1,13 +1,13 @@ -// Copyright 2017-2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017-2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gvalid import ( - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/util/gconv" "strings" ) diff --git a/g/util/gvalid/gvalid_check_struct.go b/g/util/gvalid/gvalid_check_struct.go index 4bbed0f2f..1628f4d7f 100644 --- a/g/util/gvalid/gvalid_check_struct.go +++ b/g/util/gvalid/gvalid_check_struct.go @@ -1,14 +1,14 @@ -// Copyright 2017-2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017-2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gvalid import ( - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/third/github.com/fatih/structs" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/third/github.com/fatih/structs" "strings" ) diff --git a/g/util/gvalid/gvalid_error.go b/g/util/gvalid/gvalid_error.go index 0f495bc64..8f1b7ca70 100644 --- a/g/util/gvalid/gvalid_error.go +++ b/g/util/gvalid/gvalid_error.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 返回错误对象。 diff --git a/g/util/gvalid/gvalid_message.go b/g/util/gvalid/gvalid_message.go index ce24172d1..614170c42 100644 --- a/g/util/gvalid/gvalid_message.go +++ b/g/util/gvalid/gvalid_message.go @@ -1,8 +1,8 @@ -// Copyright 2018 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2018 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. // 默认的错误消息定义。 diff --git a/g/util/gvalid/gvalid_unit_basic_all_test.go b/g/util/gvalid/gvalid_unit_basic_all_test.go index b6e49ec23..3a2f3b4b6 100644 --- a/g/util/gvalid/gvalid_unit_basic_all_test.go +++ b/g/util/gvalid/gvalid_unit_basic_all_test.go @@ -1,15 +1,15 @@ -// Copyright 2017 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gvalid_test import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/test/gtest" - "gitee.com/johng/gf/g/util/gvalid" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/test/gtest" + "github.com/gogf/gf/g/util/gvalid" "testing" ) diff --git a/g/util/gvalid/gvalid_unit_checkmap_test.go b/g/util/gvalid/gvalid_unit_checkmap_test.go index c7aed2d0d..2da793ea2 100644 --- a/g/util/gvalid/gvalid_unit_checkmap_test.go +++ b/g/util/gvalid/gvalid_unit_checkmap_test.go @@ -1,13 +1,13 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gvalid_test import ( - "gitee.com/johng/gf/g/util/gvalid" + "github.com/gogf/gf/g/util/gvalid" "testing" ) diff --git a/g/util/gvalid/gvalid_unit_checkstruct_test.go b/g/util/gvalid/gvalid_unit_checkstruct_test.go index 11d339640..0d2af35d9 100644 --- a/g/util/gvalid/gvalid_unit_checkstruct_test.go +++ b/g/util/gvalid/gvalid_unit_checkstruct_test.go @@ -1,13 +1,13 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gvalid_test import ( - "gitee.com/johng/gf/g/util/gvalid" + "github.com/gogf/gf/g/util/gvalid" "testing" ) diff --git a/g/util/gvalid/gvalid_unit_customerror_test.go b/g/util/gvalid/gvalid_unit_customerror_test.go index 35c88e83d..9a8dd0377 100644 --- a/g/util/gvalid/gvalid_unit_customerror_test.go +++ b/g/util/gvalid/gvalid_unit_customerror_test.go @@ -1,13 +1,13 @@ -// Copyright 2019 gf Author(https://gitee.com/johng/gf). All Rights Reserved. +// Copyright 2019 gf Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, -// You can obtain one at https://gitee.com/johng/gf. +// You can obtain one at https://github.com/gogf/gf. package gvalid_test import ( - "gitee.com/johng/gf/g/util/gvalid" + "github.com/gogf/gf/g/util/gvalid" "strings" "testing" ) diff --git a/geg/container/garray/garray1.go b/geg/container/garray/garray1.go index 882ad7197..313725091 100644 --- a/geg/container/garray/garray1.go +++ b/geg/container/garray/garray1.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/container/garray" + "github.com/gogf/gf/g/container/garray" ) diff --git a/geg/container/garray/garray2.go b/geg/container/garray/garray2.go index f7c93516e..fb9deb3e7 100644 --- a/geg/container/garray/garray2.go +++ b/geg/container/garray/garray2.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/container/garray" + "github.com/gogf/gf/g/container/garray" ) diff --git a/geg/container/garray/garray_slice_safe.go b/geg/container/garray/garray_slice_safe.go index 78867fc80..50823bfb2 100644 --- a/geg/container/garray/garray_slice_safe.go +++ b/geg/container/garray/garray_slice_safe.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/container/garray" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g/container/garray" + "github.com/gogf/gf/g" ) diff --git a/geg/container/garray/sorted_string_array1.go b/geg/container/garray/sorted_string_array1.go index 2660d209f..d70a192c3 100644 --- a/geg/container/garray/sorted_string_array1.go +++ b/geg/container/garray/sorted_string_array1.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/container/garray" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/container/garray" ) func main() { diff --git a/geg/container/garray/sorted_string_array2.go b/geg/container/garray/sorted_string_array2.go index 117728952..47cf0b366 100644 --- a/geg/container/garray/sorted_string_array2.go +++ b/geg/container/garray/sorted_string_array2.go @@ -2,8 +2,8 @@ package main import ( "fmt" - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/container/garray" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/container/garray" "strings" ) diff --git a/geg/container/gmap/gmap.go b/geg/container/gmap/gmap.go index 9d1543559..3da82a3ee 100644 --- a/geg/container/gmap/gmap.go +++ b/geg/container/gmap/gmap.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/container/gmap" + "github.com/gogf/gf/g/container/gmap" ) func main() { diff --git a/geg/container/gmap/gmap_map_safe.go b/geg/container/gmap/gmap_map_safe.go index b1315f10d..e4289f043 100644 --- a/geg/container/gmap/gmap_map_safe.go +++ b/geg/container/gmap/gmap_map_safe.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/container/gmap" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g/container/gmap" + "github.com/gogf/gf/g" ) func main() { diff --git a/geg/container/gpool/gpool.go b/geg/container/gpool/gpool.go index 4b195e5b0..fd54c4a13 100644 --- a/geg/container/gpool/gpool.go +++ b/geg/container/gpool/gpool.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/container/gpool" + "github.com/gogf/gf/g/container/gpool" "fmt" "time" ) diff --git a/geg/container/gqueue/gqueue.go b/geg/container/gqueue/gqueue.go index c17f404b1..f3e17878b 100644 --- a/geg/container/gqueue/gqueue.go +++ b/geg/container/gqueue/gqueue.go @@ -2,10 +2,10 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/gtimer" + "github.com/gogf/gf/g/os/gtimer" "time" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/container/gqueue" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/container/gqueue" ) func main() { diff --git a/geg/container/gqueue/gqueue2.go b/geg/container/gqueue/gqueue2.go index 04f86e46d..9b8c33dc4 100644 --- a/geg/container/gqueue/gqueue2.go +++ b/geg/container/gqueue/gqueue2.go @@ -2,8 +2,8 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/container/gqueue" - "gitee.com/johng/gf/g/os/gtimer" + "github.com/gogf/gf/g/container/gqueue" + "github.com/gogf/gf/g/os/gtimer" "time" ) diff --git a/geg/container/gqueue/gqueue3.go b/geg/container/gqueue/gqueue3.go index cfd9702ad..7fb901f7c 100644 --- a/geg/container/gqueue/gqueue3.go +++ b/geg/container/gqueue/gqueue3.go @@ -2,9 +2,9 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/container/gqueue" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/os/gtimer" + "github.com/gogf/gf/g/container/gqueue" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gtimer" "time" ) diff --git a/geg/container/gring/gring.go b/geg/container/gring/gring.go index 030e3bff7..6e4666229 100644 --- a/geg/container/gring/gring.go +++ b/geg/container/gring/gring.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/container/gring" + "github.com/gogf/gf/g/container/gring" "fmt" ) diff --git a/geg/container/gring/gring_josephus.go b/geg/container/gring/gring_josephus.go index 8a3f97b51..0963d41a6 100644 --- a/geg/container/gring/gring_josephus.go +++ b/geg/container/gring/gring_josephus.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/container/gring" + "github.com/gogf/gf/g/container/gring" ) type Player struct { diff --git a/geg/container/gset/gset.go b/geg/container/gset/gset.go index d8cc9ecd0..b4ce67d54 100644 --- a/geg/container/gset/gset.go +++ b/geg/container/gset/gset.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/container/gset" + "github.com/gogf/gf/g/container/gset" "fmt" ) diff --git a/geg/container/gtype/gtype_int.go b/geg/container/gtype/gtype_int.go index fe1f1bd6c..a2dd1568d 100644 --- a/geg/container/gtype/gtype_int.go +++ b/geg/container/gtype/gtype_int.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/container/gtype" + "github.com/gogf/gf/g/container/gtype" "fmt" ) diff --git a/geg/container/gvar/g.var.go b/geg/container/gvar/g.var.go index 9eaa79dfa..84fa8c612 100644 --- a/geg/container/gvar/g.var.go +++ b/geg/container/gvar/g.var.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g" "fmt" ) diff --git a/geg/database/kafka/gkafka_consumer.go b/geg/database/kafka/gkafka_consumer.go index 467d8f6a8..238b63d05 100644 --- a/geg/database/kafka/gkafka_consumer.go +++ b/geg/database/kafka/gkafka_consumer.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/database/gkafka" + "github.com/gogf/gf/g/database/gkafka" ) // 创建kafka消费客户端 diff --git a/geg/database/kafka/gkafka_producer.go b/geg/database/kafka/gkafka_producer.go index 2ca60e4df..50428700b 100644 --- a/geg/database/kafka/gkafka_producer.go +++ b/geg/database/kafka/gkafka_producer.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/g/database/gkafka" + "github.com/gogf/gf/g/database/gkafka" "fmt" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gtime" "time" ) diff --git a/geg/database/kafka/gkafka_topics.go b/geg/database/kafka/gkafka_topics.go index b670b4c17..7753a3b18 100644 --- a/geg/database/kafka/gkafka_topics.go +++ b/geg/database/kafka/gkafka_topics.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/database/gkafka" + "github.com/gogf/gf/g/database/gkafka" "fmt" ) diff --git a/geg/database/orm/mssql/gdb_sqlserver.go b/geg/database/orm/mssql/gdb_sqlserver.go index d3425e16c..518d03515 100644 --- a/geg/database/orm/mssql/gdb_sqlserver.go +++ b/geg/database/orm/mssql/gdb_sqlserver.go @@ -4,8 +4,8 @@ import ( "fmt" "time" //_ "github.com/denisenkom/go-mssqldb" - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/database/gdb" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/database/gdb" ) // 本文件用于gf框架的mssql数据库操作示例,不作为单元测试使用 @@ -26,7 +26,7 @@ func init() { }) db, _ = gdb.New() - //gins.Config().SetPath("/home/john/Workspace/Go/GOPATH/src/gitee.com/johng/gf/geg/frame") + //gins.Config().SetPath("/home/john/Workspace/Go/GOPATH/src/github.com/gogf/gf/geg/frame") //db = g.Database() //gdb.SetConfig(gdb.ConfigNode { diff --git a/geg/database/orm/mysql/gdb.go b/geg/database/orm/mysql/gdb.go index 8c276459d..418b77c6c 100644 --- a/geg/database/orm/mysql/gdb.go +++ b/geg/database/orm/mysql/gdb.go @@ -3,8 +3,8 @@ package main import ( "fmt" "time" - "gitee.com/johng/gf/g/database/gdb" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g/database/gdb" + "github.com/gogf/gf/g" ) // 本文件用于gf框架的mysql数据库操作示例,不作为单元测试使用 @@ -25,7 +25,7 @@ func init () { }) db, _ = gdb.New() - //gins.Config().SetPath("/home/john/Workspace/Go/GOPATH/src/gitee.com/johng/gf/geg/frame") + //gins.Config().SetPath("/home/john/Workspace/Go/GOPATH/src/github.com/gogf/gf/geg/frame") //db = g.Database() //gdb.SetConfig(gdb.ConfigNode { diff --git a/geg/database/orm/mysql/gdb_binary.go b/geg/database/orm/mysql/gdb_binary.go index a0400534f..9cf793546 100644 --- a/geg/database/orm/mysql/gdb_binary.go +++ b/geg/database/orm/mysql/gdb_binary.go @@ -1,10 +1,10 @@ package main import ( - "gitee.com/johng/gf/g/database/gdb" + "github.com/gogf/gf/g/database/gdb" "fmt" - "gitee.com/johng/gf/g/crypto/gaes" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g/crypto/gaes" + "github.com/gogf/gf/g" ) func main() { diff --git a/geg/database/orm/mysql/gdb_cache.go b/geg/database/orm/mysql/gdb_cache.go index 8ed5a4e5b..45d60ba5c 100644 --- a/geg/database/orm/mysql/gdb_cache.go +++ b/geg/database/orm/mysql/gdb_cache.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/database/gdb" - "gitee.com/johng/gf/g/util/gutil" + "github.com/gogf/gf/g/database/gdb" + "github.com/gogf/gf/g/util/gutil" ) func main() { diff --git a/geg/database/orm/mysql/gdb_config.go b/geg/database/orm/mysql/gdb_config.go index cc2569661..13aa46950 100644 --- a/geg/database/orm/mysql/gdb_config.go +++ b/geg/database/orm/mysql/gdb_config.go @@ -2,11 +2,11 @@ package main import ( "fmt" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g" ) func main() { - g.Config().AddPath("/home/john/Workspace/Go/GOPATH/src/gitee.com/johng/gf/geg/frame") + g.Config().AddPath("/home/john/Workspace/Go/GOPATH/src/github.com/gogf/gf/geg/frame") if r, err := g.DB().Table("user").Where("uid=?", 1).One(); err == nil { fmt.Println(r["uid"].Int()) fmt.Println(r["name"].String()) diff --git a/geg/database/orm/mysql/gdb_datetime.go b/geg/database/orm/mysql/gdb_datetime.go index 8a778a433..3ee65d108 100644 --- a/geg/database/orm/mysql/gdb_datetime.go +++ b/geg/database/orm/mysql/gdb_datetime.go @@ -2,8 +2,8 @@ package main import ( "fmt" - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/gtime" ) func main() { diff --git a/geg/database/orm/mysql/gdb_debug.go b/geg/database/orm/mysql/gdb_debug.go index 66eb622e0..779cdc307 100644 --- a/geg/database/orm/mysql/gdb_debug.go +++ b/geg/database/orm/mysql/gdb_debug.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/g/database/gdb" - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g/database/gdb" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/glog" ) func main() { diff --git a/geg/database/orm/mysql/gdb_json_xml.go b/geg/database/orm/mysql/gdb_json_xml.go index 2cffc9d43..07376bdff 100644 --- a/geg/database/orm/mysql/gdb_json_xml.go +++ b/geg/database/orm/mysql/gdb_json_xml.go @@ -1,10 +1,10 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/database/gdb" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/database/gdb" "fmt" - "gitee.com/johng/gf/g/encoding/gparser" + "github.com/gogf/gf/g/encoding/gparser" ) func main() { diff --git a/geg/database/orm/mysql/gdb_pool.go b/geg/database/orm/mysql/gdb_pool.go index ea99415d1..36207a597 100644 --- a/geg/database/orm/mysql/gdb_pool.go +++ b/geg/database/orm/mysql/gdb_pool.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g" "time" ) diff --git a/geg/database/orm/mysql/gdb_value.go b/geg/database/orm/mysql/gdb_value.go index dddaed10e..5d9c5477e 100644 --- a/geg/database/orm/mysql/gdb_value.go +++ b/geg/database/orm/mysql/gdb_value.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g" ) func main() { diff --git a/geg/database/orm/oracle/gdb.go b/geg/database/orm/oracle/gdb.go index 6a0a8829b..7c572b908 100644 --- a/geg/database/orm/oracle/gdb.go +++ b/geg/database/orm/oracle/gdb.go @@ -4,8 +4,8 @@ import ( "fmt" "time" //_ "github.com/mattn/go-oci8" - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/database/gdb" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/database/gdb" ) // 本文件用于gf框架的mysql数据库操作示例,不作为单元测试使用 @@ -25,7 +25,7 @@ func init() { }) db, _ = gdb.New() - //gins.Config().SetPath("/home/john/Workspace/Go/GOPATH/src/gitee.com/johng/gf/geg/frame") + //gins.Config().SetPath("/home/john/Workspace/Go/GOPATH/src/github.com/gogf/gf/geg/frame") //db = g.Database() //gdb.SetConfig(gdb.ConfigNode { diff --git a/geg/database/orm/sqlite/sqlite.go b/geg/database/orm/sqlite/sqlite.go index 9b8647dff..83d8da0f6 100644 --- a/geg/database/orm/sqlite/sqlite.go +++ b/geg/database/orm/sqlite/sqlite.go @@ -1,9 +1,9 @@ package main //import ( -// _ "gitee.com/johng/gf/third/github.com/mattn/go-sqlite3" -// "gitee.com/johng/gf/g/database/gdb" -// "gitee.com/johng/gf/g" +// _ "github.com/gogf/gf/third/github.com/mattn/go-sqlite3" +// "github.com/gogf/gf/g/database/gdb" +// "github.com/gogf/gf/g" // "fmt" //) // diff --git a/geg/database/redis/gredis.go b/geg/database/redis/gredis.go index dc7f32cd0..48d2acfa3 100644 --- a/geg/database/redis/gredis.go +++ b/geg/database/redis/gredis.go @@ -2,8 +2,8 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g/database/gredis" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g/database/gredis" ) // 使用原生gredis.New操作redis,但是注意需要自己调用Close方法关闭redis链接池 diff --git a/geg/database/redis/gredis2.go b/geg/database/redis/gredis2.go index e78d8a7c8..2be942776 100644 --- a/geg/database/redis/gredis2.go +++ b/geg/database/redis/gredis2.go @@ -2,8 +2,8 @@ package main import ( "fmt" - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/util/gconv" ) // 使用框架封装的g.Redis()方法获得redis操作对象单例,不需要开发者显示调用Close方法 diff --git a/geg/encoding/gbase64.go b/geg/encoding/gbase64.go index 416d35d1a..e98a8223d 100644 --- a/geg/encoding/gbase64.go +++ b/geg/encoding/gbase64.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/encoding/gbase64" + "github.com/gogf/gf/g/encoding/gbase64" ) func main() { diff --git a/geg/encoding/gbinary/binary.go b/geg/encoding/gbinary/binary.go index 610a8e79f..6e96a635b 100644 --- a/geg/encoding/gbinary/binary.go +++ b/geg/encoding/gbinary/binary.go @@ -2,8 +2,8 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/encoding/gbinary" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/encoding/gbinary" ) func main() { diff --git a/geg/encoding/gbinary/bits1.go b/geg/encoding/gbinary/bits1.go index 40af86092..837398b98 100644 --- a/geg/encoding/gbinary/bits1.go +++ b/geg/encoding/gbinary/bits1.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/encoding/gbinary" + "github.com/gogf/gf/g/encoding/gbinary" ) func main() { diff --git a/geg/encoding/gbinary/bits2.go b/geg/encoding/gbinary/bits2.go index 3b3d4c051..12b12de05 100644 --- a/geg/encoding/gbinary/bits2.go +++ b/geg/encoding/gbinary/bits2.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/encoding/gbinary" + "github.com/gogf/gf/g/encoding/gbinary" ) func main() { diff --git a/geg/encoding/gcfg/gcfg1.go b/geg/encoding/gcfg/gcfg1.go index f6ff277c0..979cf10ba 100644 --- a/geg/encoding/gcfg/gcfg1.go +++ b/geg/encoding/gcfg/gcfg1.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g" ) func main() { diff --git a/geg/encoding/ghash.go b/geg/encoding/ghash.go index 2ae16a25f..5d40de986 100644 --- a/geg/encoding/ghash.go +++ b/geg/encoding/ghash.go @@ -3,7 +3,7 @@ package main import ( "strconv" "fmt" - "gitee.com/johng/gf/g/encoding/ghash" + "github.com/gogf/gf/g/encoding/ghash" ) func main () { diff --git a/geg/encoding/gjson.go b/geg/encoding/gjson.go index ac91e9513..6f6b0000a 100644 --- a/geg/encoding/gjson.go +++ b/geg/encoding/gjson.go @@ -2,9 +2,9 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/encoding/gjson" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/encoding/gjson" + "github.com/gogf/gf/g/os/gtime" ) func getByPattern() { diff --git a/geg/encoding/gparser.go b/geg/encoding/gparser.go index fc6fd2f81..581b00c2d 100644 --- a/geg/encoding/gparser.go +++ b/geg/encoding/gparser.go @@ -2,8 +2,8 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/encoding/gparser" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/encoding/gparser" ) func getWithPattern1() { diff --git a/geg/frame/mvc/controller/demo/apple_pen.go b/geg/frame/mvc/controller/demo/apple_pen.go index 2f0c522b4..c2803d8ea 100644 --- a/geg/frame/mvc/controller/demo/apple_pen.go +++ b/geg/frame/mvc/controller/demo/apple_pen.go @@ -1,8 +1,8 @@ package demo import ( - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g" ) func init() { diff --git a/geg/frame/mvc/controller/demo/buildin_vars.go b/geg/frame/mvc/controller/demo/buildin_vars.go index 26358f26f..98e295f9a 100644 --- a/geg/frame/mvc/controller/demo/buildin_vars.go +++ b/geg/frame/mvc/controller/demo/buildin_vars.go @@ -1,8 +1,8 @@ package demo import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) type Order struct { } diff --git a/geg/frame/mvc/controller/demo/config.go b/geg/frame/mvc/controller/demo/config.go index f05ed1d1d..dac6763b7 100644 --- a/geg/frame/mvc/controller/demo/config.go +++ b/geg/frame/mvc/controller/demo/config.go @@ -1,8 +1,8 @@ package demo import ( - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/frame/gins" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/frame/gins" ) func init() { diff --git a/geg/frame/mvc/controller/demo/cookie.go b/geg/frame/mvc/controller/demo/cookie.go index ab2107352..41ac16152 100644 --- a/geg/frame/mvc/controller/demo/cookie.go +++ b/geg/frame/mvc/controller/demo/cookie.go @@ -1,8 +1,8 @@ package demo import ( - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/net/ghttp" ) func init() { diff --git a/geg/frame/mvc/controller/demo/domain.go b/geg/frame/mvc/controller/demo/domain.go index 3086e140d..b112f100e 100644 --- a/geg/frame/mvc/controller/demo/domain.go +++ b/geg/frame/mvc/controller/demo/domain.go @@ -1,7 +1,7 @@ package demo import ( - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g/net/ghttp" ) type ControllerDomain struct {} diff --git a/geg/frame/mvc/controller/demo/exit.go b/geg/frame/mvc/controller/demo/exit.go index e3199c7e7..9a2b17fa4 100644 --- a/geg/frame/mvc/controller/demo/exit.go +++ b/geg/frame/mvc/controller/demo/exit.go @@ -1,8 +1,8 @@ package demo import ( - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/frame/gmvc" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/frame/gmvc" ) type ControllerExit struct { diff --git a/geg/frame/mvc/controller/demo/form.go b/geg/frame/mvc/controller/demo/form.go index 4ba9f0e4b..e0501008e 100644 --- a/geg/frame/mvc/controller/demo/form.go +++ b/geg/frame/mvc/controller/demo/form.go @@ -1,7 +1,7 @@ package demo import ( - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g/net/ghttp" "fmt" ) diff --git a/geg/frame/mvc/controller/demo/hello.go b/geg/frame/mvc/controller/demo/hello.go index 0a1bce94d..1ed7816c4 100644 --- a/geg/frame/mvc/controller/demo/hello.go +++ b/geg/frame/mvc/controller/demo/hello.go @@ -1,6 +1,6 @@ package demo -import "gitee.com/johng/gf/g/net/ghttp" +import "github.com/gogf/gf/g/net/ghttp" func init() { ghttp.GetServer().BindHandler("/", func(r *ghttp.Request){ diff --git a/geg/frame/mvc/controller/demo/method.go b/geg/frame/mvc/controller/demo/method.go index 224df5c50..c2fc859bb 100644 --- a/geg/frame/mvc/controller/demo/method.go +++ b/geg/frame/mvc/controller/demo/method.go @@ -1,8 +1,8 @@ package demo import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/frame/gmvc" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/frame/gmvc" ) type Method struct { diff --git a/geg/frame/mvc/controller/demo/object.go b/geg/frame/mvc/controller/demo/object.go index 8c5f52aad..6303e4a0b 100644 --- a/geg/frame/mvc/controller/demo/object.go +++ b/geg/frame/mvc/controller/demo/object.go @@ -1,8 +1,8 @@ package demo import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) type Object struct {} diff --git a/geg/frame/mvc/controller/demo/object_method.go b/geg/frame/mvc/controller/demo/object_method.go index 9063293dc..fdcd9a527 100644 --- a/geg/frame/mvc/controller/demo/object_method.go +++ b/geg/frame/mvc/controller/demo/object_method.go @@ -1,8 +1,8 @@ package demo import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) type ObjectMethod struct {} diff --git a/geg/frame/mvc/controller/demo/object_rest.go b/geg/frame/mvc/controller/demo/object_rest.go index e8eb6372c..0a80769cd 100644 --- a/geg/frame/mvc/controller/demo/object_rest.go +++ b/geg/frame/mvc/controller/demo/object_rest.go @@ -1,6 +1,6 @@ package demo -import "gitee.com/johng/gf/g/net/ghttp" +import "github.com/gogf/gf/g/net/ghttp" // 测试绑定对象 type ObjectRest struct {} diff --git a/geg/frame/mvc/controller/demo/product.go b/geg/frame/mvc/controller/demo/product.go index da3649dc6..3d2ec9cbe 100644 --- a/geg/frame/mvc/controller/demo/product.go +++ b/geg/frame/mvc/controller/demo/product.go @@ -1,8 +1,8 @@ package demo import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) type Product struct { diff --git a/geg/frame/mvc/controller/demo/rest.go b/geg/frame/mvc/controller/demo/rest.go index 325daf4ff..60d1bd7c8 100644 --- a/geg/frame/mvc/controller/demo/rest.go +++ b/geg/frame/mvc/controller/demo/rest.go @@ -1,8 +1,8 @@ package demo import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/frame/gmvc" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/frame/gmvc" ) type Rest struct { diff --git a/geg/frame/mvc/controller/demo/rule.go b/geg/frame/mvc/controller/demo/rule.go index 224f9a885..8d122fe2b 100644 --- a/geg/frame/mvc/controller/demo/rule.go +++ b/geg/frame/mvc/controller/demo/rule.go @@ -1,8 +1,8 @@ package demo import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/frame/gmvc" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/frame/gmvc" ) type ControllerRule struct { diff --git a/geg/frame/mvc/controller/demo/session.go b/geg/frame/mvc/controller/demo/session.go index 2900adf17..8c7ba96d3 100644 --- a/geg/frame/mvc/controller/demo/session.go +++ b/geg/frame/mvc/controller/demo/session.go @@ -2,7 +2,7 @@ package demo import ( "strconv" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g/net/ghttp" ) func init() { diff --git a/geg/frame/mvc/controller/demo/template.go b/geg/frame/mvc/controller/demo/template.go index e2ed91f39..92d715b88 100644 --- a/geg/frame/mvc/controller/demo/template.go +++ b/geg/frame/mvc/controller/demo/template.go @@ -1,8 +1,8 @@ package demo import ( - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/frame/gmvc" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/frame/gmvc" ) type ControllerTemplate struct { diff --git a/geg/frame/mvc/controller/demo/template2.go b/geg/frame/mvc/controller/demo/template2.go index 4f6b92050..709885245 100644 --- a/geg/frame/mvc/controller/demo/template2.go +++ b/geg/frame/mvc/controller/demo/template2.go @@ -1,8 +1,8 @@ package demo import ( - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g" ) func init() { diff --git a/geg/frame/mvc/controller/demo/template3.go b/geg/frame/mvc/controller/demo/template3.go index 550526fe2..5510e74ff 100644 --- a/geg/frame/mvc/controller/demo/template3.go +++ b/geg/frame/mvc/controller/demo/template3.go @@ -1,8 +1,8 @@ package demo import ( - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/frame/gins" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/frame/gins" ) func init() { diff --git a/geg/frame/mvc/controller/demo/upload.go b/geg/frame/mvc/controller/demo/upload.go index 7140dfc11..1bc536345 100644 --- a/geg/frame/mvc/controller/demo/upload.go +++ b/geg/frame/mvc/controller/demo/upload.go @@ -1,8 +1,8 @@ package demo import ( - "gitee.com/johng/gf/g/os/gfile" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g/os/gfile" + "github.com/gogf/gf/g/net/ghttp" ) func Upload(r *ghttp.Request) { diff --git a/geg/frame/mvc/controller/demo/user.go b/geg/frame/mvc/controller/demo/user.go index cd7a48ce9..a87b4b354 100644 --- a/geg/frame/mvc/controller/demo/user.go +++ b/geg/frame/mvc/controller/demo/user.go @@ -1,8 +1,8 @@ package demo import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/frame/gmvc" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/frame/gmvc" ) type User struct { diff --git a/geg/frame/mvc/controller/stats/stats.go b/geg/frame/mvc/controller/stats/stats.go index 8aac8f202..b9e6d459b 100644 --- a/geg/frame/mvc/controller/stats/stats.go +++ b/geg/frame/mvc/controller/stats/stats.go @@ -1,8 +1,8 @@ package stats import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) var ( diff --git a/geg/frame/mvc/main.go b/geg/frame/mvc/main.go index 78268202b..2767cd606 100644 --- a/geg/frame/mvc/main.go +++ b/geg/frame/mvc/main.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/g" - _ "gitee.com/johng/gf/geg/frame/mvc/controller/demo" - _ "gitee.com/johng/gf/geg/frame/mvc/controller/stats" + "github.com/gogf/gf/g" + _ "github.com/gogf/gf/geg/frame/mvc/controller/demo" + _ "github.com/gogf/gf/geg/frame/mvc/controller/stats" ) func main() { diff --git a/geg/net/ghttp/client/cookie/client.go b/geg/net/ghttp/client/cookie/client.go index b83b598c2..4601ecded 100644 --- a/geg/net/ghttp/client/cookie/client.go +++ b/geg/net/ghttp/client/cookie/client.go @@ -2,8 +2,8 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/client/cookie/server.go b/geg/net/ghttp/client/cookie/server.go index 40cccfe16..bd3479b86 100644 --- a/geg/net/ghttp/client/cookie/server.go +++ b/geg/net/ghttp/client/cookie/server.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/client/get.go b/geg/net/ghttp/client/get.go index a408a109d..b5e503edb 100644 --- a/geg/net/ghttp/client/get.go +++ b/geg/net/ghttp/client/get.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/client/upload/client.go b/geg/net/ghttp/client/upload/client.go index 14c21d07c..80ac98357 100644 --- a/geg/net/ghttp/client/upload/client.go +++ b/geg/net/ghttp/client/upload/client.go @@ -2,12 +2,12 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/net/ghttp" ) func main() { - path := "/home/john/Workspace/Go/gitee.com/johng/gf/version.go" + path := "/home/john/Workspace/Go/github.com/gogf/gf/version.go" r, e := ghttp.Post("http://127.0.0.1:8199/upload", "name=john&age=18&upload-file=@file:" + path) if e != nil { glog.Error(e) diff --git a/geg/net/ghttp/client/upload/server.go b/geg/net/ghttp/client/upload/server.go index 93aa54db7..f8156c38c 100644 --- a/geg/net/ghttp/client/upload/server.go +++ b/geg/net/ghttp/client/upload/server.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/gfile" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/gfile" + "github.com/gogf/gf/g/net/ghttp" ) // 执行文件上传处理,上传到系统临时目录 /tmp diff --git a/geg/net/ghttp/server/controller/user.go b/geg/net/ghttp/server/controller/user.go index 50db001c9..8e2059be0 100644 --- a/geg/net/ghttp/server/controller/user.go +++ b/geg/net/ghttp/server/controller/user.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/frame/gmvc" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/frame/gmvc" ) type User struct { diff --git a/geg/net/ghttp/server/cookie.go b/geg/net/ghttp/server/cookie.go index d945a3390..762395e26 100644 --- a/geg/net/ghttp/server/cookie.go +++ b/geg/net/ghttp/server/cookie.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/denyroutes/denyroutes.go b/geg/net/ghttp/server/denyroutes/denyroutes.go index c25006f13..bc574a7c1 100644 --- a/geg/net/ghttp/server/denyroutes/denyroutes.go +++ b/geg/net/ghttp/server/denyroutes/denyroutes.go @@ -1,6 +1,6 @@ package main -import "gitee.com/johng/gf/g" +import "github.com/gogf/gf/g" func main() { s := g.Server() diff --git a/geg/net/ghttp/server/domain.go b/geg/net/ghttp/server/domain.go index 89de7ddb9..63f55ab73 100644 --- a/geg/net/ghttp/server/domain.go +++ b/geg/net/ghttp/server/domain.go @@ -1,6 +1,6 @@ package main -import "gitee.com/johng/gf/g/net/ghttp" +import "github.com/gogf/gf/g/net/ghttp" func Hello1(r *ghttp.Request) { r.Response.Write("127.0.0.1: Hello World1!") diff --git a/geg/net/ghttp/server/download/download.go b/geg/net/ghttp/server/download/download.go index 5c1d01abb..011acf0bc 100644 --- a/geg/net/ghttp/server/download/download.go +++ b/geg/net/ghttp/server/download/download.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/duplicate/duplicate1.go b/geg/net/ghttp/server/duplicate/duplicate1.go index ea60e72cd..8921d9baf 100644 --- a/geg/net/ghttp/server/duplicate/duplicate1.go +++ b/geg/net/ghttp/server/duplicate/duplicate1.go @@ -2,8 +2,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/duplicate/duplicate2.go b/geg/net/ghttp/server/duplicate/duplicate2.go index 20fc1850f..1ff0c3e57 100644 --- a/geg/net/ghttp/server/duplicate/duplicate2.go +++ b/geg/net/ghttp/server/duplicate/duplicate2.go @@ -2,8 +2,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/frame/gmvc" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/frame/gmvc" ) type User struct { diff --git a/geg/net/ghttp/server/duplicate/duplicate3.go b/geg/net/ghttp/server/duplicate/duplicate3.go index 1796e159b..bd1abb1ba 100644 --- a/geg/net/ghttp/server/duplicate/duplicate3.go +++ b/geg/net/ghttp/server/duplicate/duplicate3.go @@ -2,8 +2,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) type Object struct {} diff --git a/geg/net/ghttp/server/exit.go b/geg/net/ghttp/server/exit.go index 0fea5c4ba..da037ef75 100644 --- a/geg/net/ghttp/server/exit.go +++ b/geg/net/ghttp/server/exit.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/hello.go b/geg/net/ghttp/server/hello.go index 2e52353fa..1dbe02c33 100644 --- a/geg/net/ghttp/server/hello.go +++ b/geg/net/ghttp/server/hello.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/os/gproc" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/os/gproc" ) func main() { diff --git a/geg/net/ghttp/server/hooks/hooks1.go b/geg/net/ghttp/server/hooks/hooks1.go index 1eda87685..6c1dc9006 100644 --- a/geg/net/ghttp/server/hooks/hooks1.go +++ b/geg/net/ghttp/server/hooks/hooks1.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/hooks/hooks2.go b/geg/net/ghttp/server/hooks/hooks2.go index e1bcd2150..48685fa10 100644 --- a/geg/net/ghttp/server/hooks/hooks2.go +++ b/geg/net/ghttp/server/hooks/hooks2.go @@ -2,8 +2,8 @@ package main import ( "fmt" - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/hooks/hooks3.go b/geg/net/ghttp/server/hooks/hooks3.go index f6d877e51..e78d18143 100644 --- a/geg/net/ghttp/server/hooks/hooks3.go +++ b/geg/net/ghttp/server/hooks/hooks3.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/frame/gmvc" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/frame/gmvc" + "github.com/gogf/gf/g/net/ghttp" ) type Order struct { diff --git a/geg/net/ghttp/server/hooks/hooks4.go b/geg/net/ghttp/server/hooks/hooks4.go index 2a1399027..b151c4e50 100644 --- a/geg/net/ghttp/server/hooks/hooks4.go +++ b/geg/net/ghttp/server/hooks/hooks4.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/os/glog" ) func main() { diff --git a/geg/net/ghttp/server/hooks/hooks5.go b/geg/net/ghttp/server/hooks/hooks5.go index 8e13cfe8d..31222f991 100644 --- a/geg/net/ghttp/server/hooks/hooks5.go +++ b/geg/net/ghttp/server/hooks/hooks5.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/hooks/hooks_param.go b/geg/net/ghttp/server/hooks/hooks_param.go index 2a8192deb..5783bfb5b 100644 --- a/geg/net/ghttp/server/hooks/hooks_param.go +++ b/geg/net/ghttp/server/hooks/hooks_param.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/hooks/same_route_multi_hook.go b/geg/net/ghttp/server/hooks/same_route_multi_hook.go index cb7a056ad..b4b16d143 100644 --- a/geg/net/ghttp/server/hooks/same_route_multi_hook.go +++ b/geg/net/ghttp/server/hooks/same_route_multi_hook.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) // 优先调用的HOOK diff --git a/geg/net/ghttp/server/https/https.go b/geg/net/ghttp/server/https/https.go index fddec4f72..09cff5661 100644 --- a/geg/net/ghttp/server/https/https.go +++ b/geg/net/ghttp/server/https/https.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/https/https_http.go b/geg/net/ghttp/server/https/https_http.go index 7961b0c40..3fe0e67ae 100644 --- a/geg/net/ghttp/server/https/https_http.go +++ b/geg/net/ghttp/server/https/https_http.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/log.go b/geg/net/ghttp/server/log.go index 12ace1829..62ee782fd 100644 --- a/geg/net/ghttp/server/log.go +++ b/geg/net/ghttp/server/log.go @@ -2,7 +2,7 @@ package main import ( "net/http" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/name.go b/geg/net/ghttp/server/name.go index fbeedac06..eda3189bf 100644 --- a/geg/net/ghttp/server/name.go +++ b/geg/net/ghttp/server/name.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) type User struct {} diff --git a/geg/net/ghttp/server/object/user.go b/geg/net/ghttp/server/object/user.go index cd39824c8..6aa79d032 100644 --- a/geg/net/ghttp/server/object/user.go +++ b/geg/net/ghttp/server/object/user.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) type User struct { diff --git a/geg/net/ghttp/server/ports.go b/geg/net/ghttp/server/ports.go index 75a5b93c3..b21eac3de 100644 --- a/geg/net/ghttp/server/ports.go +++ b/geg/net/ghttp/server/ports.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/pprof.go b/geg/net/ghttp/server/pprof.go index aae3ef5a1..e41cdd95c 100644 --- a/geg/net/ghttp/server/pprof.go +++ b/geg/net/ghttp/server/pprof.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/redirect/back.go b/geg/net/ghttp/server/redirect/back.go index 2fa88ed39..df316ffe7 100644 --- a/geg/net/ghttp/server/redirect/back.go +++ b/geg/net/ghttp/server/redirect/back.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/reload/admin.go b/geg/net/ghttp/server/reload/admin.go index a6dd2ecdf..b2a185955 100644 --- a/geg/net/ghttp/server/reload/admin.go +++ b/geg/net/ghttp/server/reload/admin.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g" ) func main() { diff --git a/geg/net/ghttp/server/reload/https.go b/geg/net/ghttp/server/reload/https.go index 7804ab61c..b03a88c2f 100644 --- a/geg/net/ghttp/server/reload/https.go +++ b/geg/net/ghttp/server/reload/https.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/reload/https_http.go b/geg/net/ghttp/server/reload/https_http.go index 3a42b01a7..86702a5cb 100644 --- a/geg/net/ghttp/server/reload/https_http.go +++ b/geg/net/ghttp/server/reload/https_http.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/reload/multi_port.go b/geg/net/ghttp/server/reload/multi_port.go index 359520ab8..707127027 100644 --- a/geg/net/ghttp/server/reload/multi_port.go +++ b/geg/net/ghttp/server/reload/multi_port.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/reload/multi_port_and_server.go b/geg/net/ghttp/server/reload/multi_port_and_server.go index 96d054bf0..4c646ec87 100644 --- a/geg/net/ghttp/server/reload/multi_port_and_server.go +++ b/geg/net/ghttp/server/reload/multi_port_and_server.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g" ) func main() { diff --git a/geg/net/ghttp/server/reload/simple.go b/geg/net/ghttp/server/reload/simple.go index 5ba618a84..5c0e00c3b 100644 --- a/geg/net/ghttp/server/reload/simple.go +++ b/geg/net/ghttp/server/reload/simple.go @@ -2,9 +2,9 @@ package main import ( "time" - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/gproc" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/gproc" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/request/request_struct.go b/geg/net/ghttp/server/request/request_struct.go index ad506b724..2713030ef 100644 --- a/geg/net/ghttp/server/request/request_struct.go +++ b/geg/net/ghttp/server/request/request_struct.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) type User struct { diff --git a/geg/net/ghttp/server/request/request_validation.go b/geg/net/ghttp/server/request/request_validation.go index fcc143ff4..30c0bd275 100644 --- a/geg/net/ghttp/server/request/request_validation.go +++ b/geg/net/ghttp/server/request/request_validation.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/util/gvalid" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/util/gvalid" ) func main() { diff --git a/geg/net/ghttp/server/reuseport/reuseport.go b/geg/net/ghttp/server/reuseport/reuseport.go index fa2c763ff..dda64633d 100644 --- a/geg/net/ghttp/server/reuseport/reuseport.go +++ b/geg/net/ghttp/server/reuseport/reuseport.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/os/glog" ) func main() { diff --git a/geg/net/ghttp/server/router/group/group1.go b/geg/net/ghttp/server/router/group/group1.go index 432b2b003..60eaefc82 100644 --- a/geg/net/ghttp/server/router/group/group1.go +++ b/geg/net/ghttp/server/router/group/group1.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/frame/gmvc" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/frame/gmvc" + "github.com/gogf/gf/g/net/ghttp" ) type Object struct {} diff --git a/geg/net/ghttp/server/router/router1.go b/geg/net/ghttp/server/router/router1.go index 6d3ef71f0..e4347f338 100644 --- a/geg/net/ghttp/server/router/router1.go +++ b/geg/net/ghttp/server/router/router1.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g" ) func main() { diff --git a/geg/net/ghttp/server/router/router2.go b/geg/net/ghttp/server/router/router2.go index 9548caa35..a9f8a51ae 100644 --- a/geg/net/ghttp/server/router/router2.go +++ b/geg/net/ghttp/server/router/router2.go @@ -1,6 +1,6 @@ package main -import "gitee.com/johng/gf/g/net/ghttp" +import "github.com/gogf/gf/g/net/ghttp" func main() { s := ghttp.GetServer() diff --git a/geg/net/ghttp/server/router/router3.go b/geg/net/ghttp/server/router/router3.go index 43ce60a99..cdd8477a9 100644 --- a/geg/net/ghttp/server/router/router3.go +++ b/geg/net/ghttp/server/router/router3.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g" ) func main() { diff --git a/geg/net/ghttp/server/router/router4.go b/geg/net/ghttp/server/router/router4.go index 121b3bc2a..2e7500eed 100644 --- a/geg/net/ghttp/server/router/router4.go +++ b/geg/net/ghttp/server/router/router4.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g" ) func main() { diff --git a/geg/net/ghttp/server/router/router5.go b/geg/net/ghttp/server/router/router5.go index 85006fadb..88d71b455 100644 --- a/geg/net/ghttp/server/router/router5.go +++ b/geg/net/ghttp/server/router/router5.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g" "fmt" ) diff --git a/geg/net/ghttp/server/router/router6.go b/geg/net/ghttp/server/router/router6.go index b11e6b04b..41c6fc027 100644 --- a/geg/net/ghttp/server/router/router6.go +++ b/geg/net/ghttp/server/router/router6.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) // 试试模糊匹配规则不带名称会怎么样 diff --git a/geg/net/ghttp/server/server2.go b/geg/net/ghttp/server/server2.go index eddbe287b..9b7c76cb4 100644 --- a/geg/net/ghttp/server/server2.go +++ b/geg/net/ghttp/server/server2.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/session.go b/geg/net/ghttp/server/session.go index 0ec1d7b74..e8d26a344 100644 --- a/geg/net/ghttp/server/session.go +++ b/geg/net/ghttp/server/session.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/util/gconv" ) func main() { diff --git a/geg/net/ghttp/server/static/static.go b/geg/net/ghttp/server/static/static.go index cecc0b45c..69218985b 100644 --- a/geg/net/ghttp/server/static/static.go +++ b/geg/net/ghttp/server/static/static.go @@ -1,6 +1,6 @@ package main -import "gitee.com/johng/gf/g" +import "github.com/gogf/gf/g" // 静态文件服务器基本使用 func main() { diff --git a/geg/net/ghttp/server/static/static_path.go b/geg/net/ghttp/server/static/static_path.go index 1cb36b6e4..4eec6654a 100644 --- a/geg/net/ghttp/server/static/static_path.go +++ b/geg/net/ghttp/server/static/static_path.go @@ -1,6 +1,6 @@ package main -import "gitee.com/johng/gf/g" +import "github.com/gogf/gf/g" // 静态文件服务器,支持自定义静态目录映射 func main() { diff --git a/geg/net/ghttp/server/static/static_path2.go b/geg/net/ghttp/server/static/static_path2.go index fa83f7a6c..d2b5a270b 100644 --- a/geg/net/ghttp/server/static/static_path2.go +++ b/geg/net/ghttp/server/static/static_path2.go @@ -1,6 +1,6 @@ package main -import "gitee.com/johng/gf/g" +import "github.com/gogf/gf/g" // 静态文件服务器,支持自定义静态目录映射 func main() { diff --git a/geg/net/ghttp/server/status.go b/geg/net/ghttp/server/status.go index f816f5b7e..cceda9815 100644 --- a/geg/net/ghttp/server/status.go +++ b/geg/net/ghttp/server/status.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/status_map.go b/geg/net/ghttp/server/status_map.go index 91c39ee5c..4ced215d4 100644 --- a/geg/net/ghttp/server/status_map.go +++ b/geg/net/ghttp/server/status_map.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/status_redirect.go b/geg/net/ghttp/server/status_redirect.go index 21e211d92..a04771c50 100644 --- a/geg/net/ghttp/server/status_redirect.go +++ b/geg/net/ghttp/server/status_redirect.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/template/buildin-vars.go b/geg/net/ghttp/server/template/buildin-vars.go index 7f2ba9c8c..7e53d3203 100644 --- a/geg/net/ghttp/server/template/buildin-vars.go +++ b/geg/net/ghttp/server/template/buildin-vars.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/net/ghttp/server/template/tpl1/tpl1.go b/geg/net/ghttp/server/template/tpl1/tpl1.go index f47bef17d..1fe315491 100644 --- a/geg/net/ghttp/server/template/tpl1/tpl1.go +++ b/geg/net/ghttp/server/template/tpl1/tpl1.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/frame/gmvc" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g/frame/gmvc" + "github.com/gogf/gf/g/net/ghttp" ) type ControllerIndex struct { gmvc.Controller diff --git a/geg/net/ghttp/server/websocket/echo/main.go b/geg/net/ghttp/server/websocket/echo/main.go index f682f400b..b326f2495 100644 --- a/geg/net/ghttp/server/websocket/echo/main.go +++ b/geg/net/ghttp/server/websocket/echo/main.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/os/glog" ) func main() { diff --git a/geg/net/greuseport/greuseport.go b/geg/net/greuseport/greuseport.go index 29bd27d94..a14267ce3 100644 --- a/geg/net/greuseport/greuseport.go +++ b/geg/net/greuseport/greuseport.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/net/greuseport" + "github.com/gogf/gf/g/net/greuseport" "net/http" "os" ) diff --git a/geg/net/gtcp/gtcp_conn.go b/geg/net/gtcp/gtcp_conn.go index dae8b3e4e..a61a741e8 100644 --- a/geg/net/gtcp/gtcp_conn.go +++ b/geg/net/gtcp/gtcp_conn.go @@ -3,8 +3,8 @@ package main import ( "fmt" "bytes" - "gitee.com/johng/gf/g/net/gtcp" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/net/gtcp" + "github.com/gogf/gf/g/util/gconv" "os" ) diff --git a/geg/net/gtcp/gtcp_echo_server.go b/geg/net/gtcp/gtcp_echo_server.go index 2575212e4..7fcad1229 100644 --- a/geg/net/gtcp/gtcp_echo_server.go +++ b/geg/net/gtcp/gtcp_echo_server.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/net/gtcp" + "github.com/gogf/gf/g/net/gtcp" ) func main() { diff --git a/geg/net/gtcp/gtcp_func.go b/geg/net/gtcp/gtcp_func.go index 135193f27..06168c4f9 100644 --- a/geg/net/gtcp/gtcp_func.go +++ b/geg/net/gtcp/gtcp_func.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/net/gtcp" + "github.com/gogf/gf/g/net/gtcp" "fmt" "os" ) diff --git a/geg/net/gtcp/gtcp_pool1.go b/geg/net/gtcp/gtcp_pool1.go index ab95c1372..f368d92cb 100644 --- a/geg/net/gtcp/gtcp_pool1.go +++ b/geg/net/gtcp/gtcp_pool1.go @@ -3,9 +3,9 @@ package main import ( "fmt" "time" - "gitee.com/johng/gf/g/net/gtcp" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/net/gtcp" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gtime" ) func main() { diff --git a/geg/net/gtcp/gtcp_pool2.go b/geg/net/gtcp/gtcp_pool2.go index 5ee595c23..7c9c5d979 100644 --- a/geg/net/gtcp/gtcp_pool2.go +++ b/geg/net/gtcp/gtcp_pool2.go @@ -3,9 +3,9 @@ package main import ( "fmt" "time" - "gitee.com/johng/gf/g/net/gtcp" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/net/gtcp" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gtime" ) func main() { diff --git a/geg/net/gtcp/gtcp_server_client1.go b/geg/net/gtcp/gtcp_server_client1.go index 855e0276e..af1b9fd85 100644 --- a/geg/net/gtcp/gtcp_server_client1.go +++ b/geg/net/gtcp/gtcp_server_client1.go @@ -3,9 +3,9 @@ package main import ( "fmt" "time" - "gitee.com/johng/gf/g/net/gtcp" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/net/gtcp" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/util/gconv" ) func main() { diff --git a/geg/net/gtcp/gtcp_server_client2.go b/geg/net/gtcp/gtcp_server_client2.go index 98f9bd943..476b3bcdb 100644 --- a/geg/net/gtcp/gtcp_server_client2.go +++ b/geg/net/gtcp/gtcp_server_client2.go @@ -3,9 +3,9 @@ package main import ( "fmt" "time" - "gitee.com/johng/gf/g/net/gtcp" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/net/gtcp" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gtime" ) func main() { diff --git a/geg/net/gtcp/gtcp_timeout_client.go b/geg/net/gtcp/gtcp_timeout_client.go index c114ac4e4..77506acb5 100644 --- a/geg/net/gtcp/gtcp_timeout_client.go +++ b/geg/net/gtcp/gtcp_timeout_client.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/g/net/gtcp" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/net/gtcp" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gtime" "time" ) diff --git a/geg/net/gtcp/gtcp_timeout_server.go b/geg/net/gtcp/gtcp_timeout_server.go index 185f6b822..c53e09cf2 100644 --- a/geg/net/gtcp/gtcp_timeout_server.go +++ b/geg/net/gtcp/gtcp_timeout_server.go @@ -3,7 +3,7 @@ package main import ( "fmt" "time" - "gitee.com/johng/gf/g/net/gtcp" + "github.com/gogf/gf/g/net/gtcp" ) func main() { diff --git a/geg/net/gudp/gudp_server.go b/geg/net/gudp/gudp_server.go index 2b6f9ca6b..9b7bf1f3b 100644 --- a/geg/net/gudp/gudp_server.go +++ b/geg/net/gudp/gudp_server.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/net/gudp" + "github.com/gogf/gf/g/net/gudp" "fmt" ) diff --git a/geg/net/gudp/gudp_server_client.go b/geg/net/gudp/gudp_server_client.go index db3430cab..8445c46e4 100644 --- a/geg/net/gudp/gudp_server_client.go +++ b/geg/net/gudp/gudp_server_client.go @@ -3,9 +3,9 @@ package main import ( "fmt" "time" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/net/gudp" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/net/gudp" ) func main() { diff --git a/geg/net/scanner.go b/geg/net/scanner.go index f0519d2de..080b410b9 100644 --- a/geg/net/scanner.go +++ b/geg/net/scanner.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/net/gscanner" + "github.com/gogf/gf/g/net/gscanner" "net" "fmt" "time" diff --git a/geg/os/console.go b/geg/os/console.go index 8c148979a..855d4d85e 100644 --- a/geg/os/console.go +++ b/geg/os/console.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/gcmd" + "github.com/gogf/gf/g/os/gcmd" ) func doEcho() { diff --git a/geg/os/gcache/usage_basic.go b/geg/os/gcache/usage_basic.go index dde394c09..59e0448e8 100644 --- a/geg/os/gcache/usage_basic.go +++ b/geg/os/gcache/usage_basic.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/gcache" + "github.com/gogf/gf/g/os/gcache" ) func main() { diff --git a/geg/os/gcache/usage_lru.go b/geg/os/gcache/usage_lru.go index 7d4864565..fec11faa0 100644 --- a/geg/os/gcache/usage_lru.go +++ b/geg/os/gcache/usage_lru.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/os/gcache" + "github.com/gogf/gf/g/os/gcache" "time" "fmt" ) diff --git a/geg/os/gcache/usage_senior.go b/geg/os/gcache/usage_senior.go index 29a72233d..041e2cfe7 100644 --- a/geg/os/gcache/usage_senior.go +++ b/geg/os/gcache/usage_senior.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/gcache" + "github.com/gogf/gf/g/os/gcache" "time" ) diff --git a/geg/os/gcfg/gcfg1.go b/geg/os/gcfg/gcfg1.go index 6fef32fbe..114118283 100644 --- a/geg/os/gcfg/gcfg1.go +++ b/geg/os/gcfg/gcfg1.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g" ) // 使用第二个参数指定读取的配置文件 diff --git a/geg/os/gcfg/gcfg2.go b/geg/os/gcfg/gcfg2.go index 4512692b8..23965ed99 100644 --- a/geg/os/gcfg/gcfg2.go +++ b/geg/os/gcfg/gcfg2.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g" ) // 使用默认的config.toml配置文件读取配置 diff --git a/geg/os/gcfg/gcfg3.go b/geg/os/gcfg/gcfg3.go index 37b4720d8..b0b7c3251 100644 --- a/geg/os/gcfg/gcfg3.go +++ b/geg/os/gcfg/gcfg3.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g" ) // 使用GetVar获取动态变量 diff --git a/geg/os/gcfg/gcfg4.go b/geg/os/gcfg/gcfg4.go index 169f8385b..3bbff9722 100644 --- a/geg/os/gcfg/gcfg4.go +++ b/geg/os/gcfg/gcfg4.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g" ) // 使用g.Config方法获取配置管理对象,并指定默认的配置文件名称 diff --git a/geg/os/gcfg/gcfg_auto_update.go b/geg/os/gcfg/gcfg_auto_update.go index 2ce1481cb..9a2fd2917 100644 --- a/geg/os/gcfg/gcfg_auto_update.go +++ b/geg/os/gcfg/gcfg_auto_update.go @@ -2,8 +2,8 @@ package main import ( "fmt" - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/gtime" "time" ) diff --git a/geg/os/gcfg/gcfg_error.go b/geg/os/gcfg/gcfg_error.go index 717cebb09..b7a4d9cf3 100644 --- a/geg/os/gcfg/gcfg_error.go +++ b/geg/os/gcfg/gcfg_error.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g" ) // 演示在找不到配置文件时的错误提示 diff --git a/geg/os/gcmd/gcmd1.go b/geg/os/gcmd/gcmd1.go index f2a723749..70fdd67fe 100644 --- a/geg/os/gcmd/gcmd1.go +++ b/geg/os/gcmd/gcmd1.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/gcmd" + "github.com/gogf/gf/g/os/gcmd" ) func help() { diff --git a/geg/os/gcron/gcron1.go b/geg/os/gcron/gcron1.go index 35a18188e..ffc6196be 100644 --- a/geg/os/gcron/gcron1.go +++ b/geg/os/gcron/gcron1.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/os/gcron" - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g/os/gcron" + "github.com/gogf/gf/g/os/glog" "time" ) diff --git a/geg/os/gcron/gcron2.go b/geg/os/gcron/gcron2.go index 2fb94b66e..b388ccec7 100644 --- a/geg/os/gcron/gcron2.go +++ b/geg/os/gcron/gcron2.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/os/gcron" - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g/os/gcron" + "github.com/gogf/gf/g/os/glog" "time" ) diff --git a/geg/os/gfcache/gfcache.go b/geg/os/gfcache/gfcache.go index 364195847..d989b7e65 100644 --- a/geg/os/gfcache/gfcache.go +++ b/geg/os/gfcache/gfcache.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/os/gfcache" - "gitee.com/johng/gf/g/os/gfile" + "github.com/gogf/gf/g/os/gfcache" + "github.com/gogf/gf/g/os/gfile" "fmt" "time" ) diff --git a/geg/os/gfile/gfile.go b/geg/os/gfile/gfile.go index 70784be2f..287f6a7bc 100644 --- a/geg/os/gfile/gfile.go +++ b/geg/os/gfile/gfile.go @@ -2,9 +2,9 @@ package main import ( - "gitee.com/johng/gf/g/os/gfile" + "github.com/gogf/gf/g/os/gfile" "fmt" - "gitee.com/johng/gf/g/util/gutil" + "github.com/gogf/gf/g/util/gutil" ) var dirpath1 = "/home/john/Workspace/temp/" diff --git a/geg/os/gfile/gfile_contents.go b/geg/os/gfile/gfile_contents.go index a2cc426c2..97db05e86 100644 --- a/geg/os/gfile/gfile_contents.go +++ b/geg/os/gfile/gfile_contents.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/gfile" + "github.com/gogf/gf/g/os/gfile" ) func main() { diff --git a/geg/os/gfile/gfile_scan.go b/geg/os/gfile/gfile_scan.go index 20c4efecb..68513a448 100644 --- a/geg/os/gfile/gfile_scan.go +++ b/geg/os/gfile/gfile_scan.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/util/gutil" - "gitee.com/johng/gf/g/os/gfile" + "github.com/gogf/gf/g/util/gutil" + "github.com/gogf/gf/g/os/gfile" ) func main() { diff --git a/geg/os/gflock/flock.go b/geg/os/gflock/flock.go index 953492e2d..544134f47 100644 --- a/geg/os/gflock/flock.go +++ b/geg/os/gflock/flock.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/third/github.com/theckman/go-flock" + "github.com/gogf/gf/third/github.com/theckman/go-flock" "time" ) diff --git a/geg/os/gflock/gflock.go b/geg/os/gflock/gflock.go index 2adc33b75..dee423b3b 100644 --- a/geg/os/gflock/gflock.go +++ b/geg/os/gflock/gflock.go @@ -2,9 +2,9 @@ package main import ( "time" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gproc" - "gitee.com/johng/gf/g/os/gflock" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gproc" + "github.com/gogf/gf/g/os/gflock" ) func main() { diff --git a/geg/os/gfpool/gfpool.go b/geg/os/gfpool/gfpool.go index c960e9c2f..2b554b771 100644 --- a/geg/os/gfpool/gfpool.go +++ b/geg/os/gfpool/gfpool.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/gfpool" + "github.com/gogf/gf/g/os/gfpool" "os" "time" ) diff --git a/geg/os/gfsnotify/fsnotify.go b/geg/os/gfsnotify/fsnotify.go index 262b3262e..de5f21f7e 100644 --- a/geg/os/gfsnotify/fsnotify.go +++ b/geg/os/gfsnotify/fsnotify.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/third/github.com/fsnotify/fsnotify" + "github.com/gogf/gf/third/github.com/fsnotify/fsnotify" "log" - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g/os/glog" ) func main() { @@ -15,7 +15,7 @@ func main() { defer watch.Close() //添加要监控的对象,文件或文件夹 //err = watch.Add("D:\\Workspace\\Go\\GOPATH\\src\\gitee.com\\johng\\gf\\geg\\other\\test.go") - err = watch.Add("/Users/john/Workspace/Go/GOPATH/src/gitee.com/johng/gf/geg/other/test.go") + err = watch.Add("/Users/john/Workspace/Go/GOPATH/src/github.com/gogf/gf/geg/other/test.go") if err != nil { log.Fatal(err) } diff --git a/geg/os/gfsnotify/gfsnotify.go b/geg/os/gfsnotify/gfsnotify.go index e17b0c254..a265fdfbd 100644 --- a/geg/os/gfsnotify/gfsnotify.go +++ b/geg/os/gfsnotify/gfsnotify.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/os/gfsnotify" - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g/os/gfsnotify" + "github.com/gogf/gf/g/os/glog" ) func main() { diff --git a/geg/os/gfsnotify/gfsnotify_callback.go b/geg/os/gfsnotify/gfsnotify_callback.go index ccb032d36..4ce0a42f2 100644 --- a/geg/os/gfsnotify/gfsnotify_callback.go +++ b/geg/os/gfsnotify/gfsnotify_callback.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/g/os/gfsnotify" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gfsnotify" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gtime" "time" ) diff --git a/geg/os/gfsnotify/gfsnotify_callback_folder.go b/geg/os/gfsnotify/gfsnotify_callback_folder.go index 2c7714f5a..bca83ca19 100644 --- a/geg/os/gfsnotify/gfsnotify_callback_folder.go +++ b/geg/os/gfsnotify/gfsnotify_callback_folder.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/g/os/gfsnotify" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gfsnotify" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gtime" "time" ) diff --git a/geg/os/gfsnotify/gfsnotify_limit.go b/geg/os/gfsnotify/gfsnotify_limit.go index f42a29824..c99ec8b01 100644 --- a/geg/os/gfsnotify/gfsnotify_limit.go +++ b/geg/os/gfsnotify/gfsnotify_limit.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/os/gfsnotify" - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g/os/gfsnotify" + "github.com/gogf/gf/g/os/glog" ) // 对同一个文件多次Add是否超过系统inotify限制 diff --git a/geg/os/glog/glog_backtrace.go b/geg/os/glog/glog_backtrace.go index 355de8e86..03a34100c 100644 --- a/geg/os/glog/glog_backtrace.go +++ b/geg/os/glog/glog_backtrace.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g/os/glog" "fmt" ) diff --git a/geg/os/glog/glog_category.go b/geg/os/glog/glog_category.go index 06f582e56..527a98bb5 100644 --- a/geg/os/glog/glog_category.go +++ b/geg/os/glog/glog_category.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gfile" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gfile" + "github.com/gogf/gf/g" ) func main() { diff --git a/geg/os/glog/glog_debug.go b/geg/os/glog/glog_debug.go index 1eef8de59..0b9a921c8 100644 --- a/geg/os/glog/glog_debug.go +++ b/geg/os/glog/glog_debug.go @@ -2,8 +2,8 @@ package main import ( "time" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gtime" ) func main() { diff --git a/geg/os/glog/glog_error.go b/geg/os/glog/glog_error.go index 9f78bbb78..3f89b7e20 100644 --- a/geg/os/glog/glog_error.go +++ b/geg/os/glog/glog_error.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g/os/glog" ) func main() { diff --git a/geg/os/glog/glog_file.go b/geg/os/glog/glog_file.go index b3012f530..aa39deaab 100644 --- a/geg/os/glog/glog_file.go +++ b/geg/os/glog/glog_file.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gfile" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gfile" + "github.com/gogf/gf/g" ) // 设置日志等级 diff --git a/geg/os/glog/glog_level.go b/geg/os/glog/glog_level.go index c9648b8fb..bee424dc6 100644 --- a/geg/os/glog/glog_level.go +++ b/geg/os/glog/glog_level.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g/os/glog" ) // 设置日志等级,过滤掉Info日志信息 diff --git a/geg/os/glog/glog_path.go b/geg/os/glog/glog_path.go index fd18b2d67..88877c00a 100644 --- a/geg/os/glog/glog_path.go +++ b/geg/os/glog/glog_path.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gfile" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gfile" + "github.com/gogf/gf/g" ) // 设置日志输出路径 diff --git a/geg/os/glog/glog_pool.go b/geg/os/glog/glog_pool.go index a8e2fa668..6005a4c49 100644 --- a/geg/os/glog/glog_pool.go +++ b/geg/os/glog/glog_pool.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gtime" "time" ) diff --git a/geg/os/gmlock/locker1.go b/geg/os/gmlock/locker1.go index efddf4603..644e04b72 100644 --- a/geg/os/gmlock/locker1.go +++ b/geg/os/gmlock/locker1.go @@ -3,8 +3,8 @@ package main import ( "time" "sync" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gmlock" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gmlock" ) // 内存锁基本使用 diff --git a/geg/os/gmlock/locker2.go b/geg/os/gmlock/locker2.go index cd92e3305..5f6b5947d 100644 --- a/geg/os/gmlock/locker2.go +++ b/geg/os/gmlock/locker2.go @@ -2,8 +2,8 @@ package main import ( "sync" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gmlock" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gmlock" ) // 内存锁 - 给定过期时间 diff --git a/geg/os/gmlock/locker3.go b/geg/os/gmlock/locker3.go index 4626169e7..5bf898f7b 100644 --- a/geg/os/gmlock/locker3.go +++ b/geg/os/gmlock/locker3.go @@ -2,9 +2,9 @@ package main import ( "sync" - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g/os/glog" "time" - "gitee.com/johng/gf/g/os/gmlock" + "github.com/gogf/gf/g/os/gmlock" ) // 内存锁 - TryLock diff --git a/geg/os/gmlock/locker4.go b/geg/os/gmlock/locker4.go index 297f65961..40c7b0f0d 100644 --- a/geg/os/gmlock/locker4.go +++ b/geg/os/gmlock/locker4.go @@ -1,9 +1,9 @@ package main import ( - "gitee.com/johng/gf/g/os/gmlock" + "github.com/gogf/gf/g/os/gmlock" "time" - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g/os/glog" "fmt" ) diff --git a/geg/os/gmlock/test_locker.go b/geg/os/gmlock/test_locker.go index 1aa59ce26..74cbde991 100644 --- a/geg/os/gmlock/test_locker.go +++ b/geg/os/gmlock/test_locker.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/os/gmlock" + "github.com/gogf/gf/g/os/gmlock" "sync" "fmt" "time" diff --git a/geg/os/gmlock/test_mutex.go b/geg/os/gmlock/test_mutex.go index 1345fb26a..ad747ecaa 100644 --- a/geg/os/gmlock/test_mutex.go +++ b/geg/os/gmlock/test_mutex.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/os/gmlock" + "github.com/gogf/gf/g/os/gmlock" "sync" "fmt" "time" diff --git a/geg/os/gproc/gproc.go b/geg/os/gproc/gproc.go index 0bb2628cf..7ee4228b9 100644 --- a/geg/os/gproc/gproc.go +++ b/geg/os/gproc/gproc.go @@ -3,8 +3,8 @@ package main import ( "os" "time" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gproc" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gproc" ) // 父子进程基本演示 diff --git a/geg/os/gproc/gproc2.go b/geg/os/gproc/gproc2.go index 80a24eed8..d9553ddfa 100644 --- a/geg/os/gproc/gproc2.go +++ b/geg/os/gproc/gproc2.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/gproc" + "github.com/gogf/gf/g/os/gproc" ) // 使用gproc kill指定其他进程(清确保运行该程序的用户有足够权限) diff --git a/geg/os/gproc/gproc3.go b/geg/os/gproc/gproc3.go index ced9c5b01..fd9e372a8 100644 --- a/geg/os/gproc/gproc3.go +++ b/geg/os/gproc/gproc3.go @@ -3,8 +3,8 @@ package main import ( "os" "time" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gproc" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gproc" ) // 父进程销毁后,使用进程管理器查看存活的子进程。 diff --git a/geg/os/gproc/gproc4.go b/geg/os/gproc/gproc4.go index a65df93c3..ff532d758 100644 --- a/geg/os/gproc/gproc4.go +++ b/geg/os/gproc/gproc4.go @@ -3,9 +3,9 @@ package main import ( "os" "time" - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/genv" - "gitee.com/johng/gf/g/os/gproc" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/genv" + "github.com/gogf/gf/g/os/gproc" ) // 查看父子进程的环境变量 diff --git a/geg/os/gproc/gproc_comm.go b/geg/os/gproc/gproc_comm.go index 8ee5b5ffd..8034bf6fb 100644 --- a/geg/os/gproc/gproc_comm.go +++ b/geg/os/gproc/gproc_comm.go @@ -7,9 +7,9 @@ import ( "os" "fmt" "time" - "gitee.com/johng/gf/g/os/gproc" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g/os/gproc" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/os/glog" ) func main () { diff --git a/geg/os/gproc/gproc_comm_group.go b/geg/os/gproc/gproc_comm_group.go index 2933b2190..e4cb40b02 100644 --- a/geg/os/gproc/gproc_comm_group.go +++ b/geg/os/gproc/gproc_comm_group.go @@ -5,8 +5,8 @@ import ( "os" "fmt" "time" - "gitee.com/johng/gf/g/os/gproc" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gproc" + "github.com/gogf/gf/g/os/gtime" ) func main () { diff --git a/geg/os/gproc/gproc_comm_send.go b/geg/os/gproc/gproc_comm_send.go index 3ebf9aae2..deed47f63 100644 --- a/geg/os/gproc/gproc_comm_send.go +++ b/geg/os/gproc/gproc_comm_send.go @@ -3,7 +3,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/gproc" + "github.com/gogf/gf/g/os/gproc" ) func main () { diff --git a/geg/os/gproc/gproc_shellexec.go b/geg/os/gproc/gproc_shellexec.go index 6c10d531d..6a8935a1f 100644 --- a/geg/os/gproc/gproc_shellexec.go +++ b/geg/os/gproc/gproc_shellexec.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/os/gproc" + "github.com/gogf/gf/g/os/gproc" "fmt" ) diff --git a/geg/os/grpool/goroutine.go b/geg/os/grpool/goroutine.go index edcf8d529..ef98e160c 100644 --- a/geg/os/grpool/goroutine.go +++ b/geg/os/grpool/goroutine.go @@ -4,7 +4,7 @@ import ( "fmt" "sync" "time" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gtime" ) diff --git a/geg/os/grpool/grpool.go b/geg/os/grpool/grpool.go index bcb1aef6e..351395425 100644 --- a/geg/os/grpool/grpool.go +++ b/geg/os/grpool/grpool.go @@ -4,8 +4,8 @@ import ( "fmt" "sync" "time" - "gitee.com/johng/gf/g/os/gtime" - "gitee.com/johng/gf/g/os/grpool" + "github.com/gogf/gf/g/os/gtime" + "github.com/gogf/gf/g/os/grpool" ) func main() { diff --git a/geg/os/grpool/grpool1.go b/geg/os/grpool/grpool1.go index 2b08a94c1..0df2f6341 100644 --- a/geg/os/grpool/grpool1.go +++ b/geg/os/grpool/grpool1.go @@ -3,8 +3,8 @@ package main import ( "time" "fmt" - "gitee.com/johng/gf/g/os/grpool" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/grpool" + "github.com/gogf/gf/g/os/gtime" ) func job() { diff --git a/geg/os/grpool/grpool2.go b/geg/os/grpool/grpool2.go index 4d3c2d1d5..eae500448 100644 --- a/geg/os/grpool/grpool2.go +++ b/geg/os/grpool/grpool2.go @@ -3,7 +3,7 @@ package main import ( "fmt" "sync" - "gitee.com/johng/gf/g/os/grpool" + "github.com/gogf/gf/g/os/grpool" ) func main() { diff --git a/geg/os/gspath/gspath.go b/geg/os/gspath/gspath.go index 15d011f0e..a2a3e891b 100644 --- a/geg/os/gspath/gspath.go +++ b/geg/os/gspath/gspath.go @@ -2,9 +2,9 @@ package main import ( "fmt" - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/gspath" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/gspath" + "github.com/gogf/gf/g/os/gtime" "time" ) diff --git a/geg/os/gtime/gtime_format.go b/geg/os/gtime/gtime_format.go index 1ebf14a52..1d6fa80d0 100644 --- a/geg/os/gtime/gtime_format.go +++ b/geg/os/gtime/gtime_format.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gtime" ) func main() { diff --git a/geg/os/gtime/gtime_func.go b/geg/os/gtime/gtime_func.go index e214733d6..b8274bc75 100644 --- a/geg/os/gtime/gtime_func.go +++ b/geg/os/gtime/gtime_func.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gtime" ) func main() { diff --git a/geg/os/gtime/gtime_layout.go b/geg/os/gtime/gtime_layout.go index 309949a98..013e2228e 100644 --- a/geg/os/gtime/gtime_layout.go +++ b/geg/os/gtime/gtime_layout.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gtime" ) func main() { diff --git a/geg/os/gtime/gtime_linkop.go b/geg/os/gtime/gtime_linkop.go index 5fadaba3f..1de9f0ae5 100644 --- a/geg/os/gtime/gtime_linkop.go +++ b/geg/os/gtime/gtime_linkop.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gtime" "time" ) diff --git a/geg/os/gtime/gtime_parsertime.go b/geg/os/gtime/gtime_parsertime.go index 935999856..a9cbb4d35 100644 --- a/geg/os/gtime/gtime_parsertime.go +++ b/geg/os/gtime/gtime_parsertime.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gtime" ) func main() { diff --git a/geg/os/gtime/gtime_regex1.go b/geg/os/gtime/gtime_regex1.go index 1cc0f2055..40c46965b 100644 --- a/geg/os/gtime/gtime_regex1.go +++ b/geg/os/gtime/gtime_regex1.go @@ -3,7 +3,7 @@ package main import ( "regexp" "fmt" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gtime" ) func main() { diff --git a/geg/os/gtime/gtime_regex2.go b/geg/os/gtime/gtime_regex2.go index 3693e449f..17031ee23 100644 --- a/geg/os/gtime/gtime_regex2.go +++ b/geg/os/gtime/gtime_regex2.go @@ -3,7 +3,7 @@ package main import ( "regexp" "fmt" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gtime" ) func main() { diff --git a/geg/os/gtime/gtime_strtotime.go b/geg/os/gtime/gtime_strtotime.go index 9c589f4fb..a82471c7f 100644 --- a/geg/os/gtime/gtime_strtotime.go +++ b/geg/os/gtime/gtime_strtotime.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gtime" "time" ) diff --git a/geg/os/gtime/gtime_strtotime2.go b/geg/os/gtime/gtime_strtotime2.go index cbade67d6..1b7d5210b 100644 --- a/geg/os/gtime/gtime_strtotime2.go +++ b/geg/os/gtime/gtime_strtotime2.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gtime" ) func main() { diff --git a/geg/os/gtime/gtime_zone.go b/geg/os/gtime/gtime_zone.go index 503d00b34..882e49ceb 100644 --- a/geg/os/gtime/gtime_zone.go +++ b/geg/os/gtime/gtime_zone.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gtime" "time" ) diff --git a/geg/os/gtimer/gtimer1.go b/geg/os/gtimer/gtimer1.go index 708a298aa..040da6ce2 100644 --- a/geg/os/gtimer/gtimer1.go +++ b/geg/os/gtimer/gtimer1.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/os/gtimer" + "github.com/gogf/gf/g/os/gtimer" "time" ) diff --git a/geg/os/gtimer/gtimer2.go b/geg/os/gtimer/gtimer2.go index 5e482e2d1..d6b5cc318 100644 --- a/geg/os/gtimer/gtimer2.go +++ b/geg/os/gtimer/gtimer2.go @@ -2,8 +2,8 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/container/gtype" - "gitee.com/johng/gf/g/os/gtimer" + "github.com/gogf/gf/g/container/gtype" + "github.com/gogf/gf/g/os/gtimer" "time" ) diff --git a/geg/os/gtimer/gtimer3.go b/geg/os/gtimer/gtimer3.go index 9f3668e38..ba8609ff3 100644 --- a/geg/os/gtimer/gtimer3.go +++ b/geg/os/gtimer/gtimer3.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gtimer" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gtimer" "time" ) diff --git a/geg/os/gtimer/gtimer4.go b/geg/os/gtimer/gtimer4.go index d0f9f866f..51b94a289 100644 --- a/geg/os/gtimer/gtimer4.go +++ b/geg/os/gtimer/gtimer4.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/os/glog" - "gitee.com/johng/gf/g/os/gtimer" + "github.com/gogf/gf/g/os/glog" + "github.com/gogf/gf/g/os/gtimer" "time" ) diff --git a/geg/os/gview/assign/assign.go b/geg/os/gview/assign/assign.go index f83fef161..e4f9b8b27 100644 --- a/geg/os/gview/assign/assign.go +++ b/geg/os/gview/assign/assign.go @@ -3,8 +3,8 @@ package main import ( "fmt" - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/gview" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/gview" ) func main() { diff --git a/geg/os/gview/basic/gview.go b/geg/os/gview/basic/gview.go index f54590bbb..f72ab9c67 100644 --- a/geg/os/gview/basic/gview.go +++ b/geg/os/gview/basic/gview.go @@ -3,7 +3,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g" ) func main() { diff --git a/geg/os/gview/bind_func/gview_func.go b/geg/os/gview/bind_func/gview_func.go index 48a969b9f..d6e4b5fe6 100644 --- a/geg/os/gview/bind_func/gview_func.go +++ b/geg/os/gview/bind_func/gview_func.go @@ -3,8 +3,8 @@ package main import ( "fmt" - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/gview" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/gview" ) // 用于测试的内置函数 diff --git a/geg/os/gview/build_in_funcs/build_in_funcs.go b/geg/os/gview/build_in_funcs/build_in_funcs.go index 1c8cc7ea6..b12d55f66 100644 --- a/geg/os/gview/build_in_funcs/build_in_funcs.go +++ b/geg/os/gview/build_in_funcs/build_in_funcs.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g" ) func main() { diff --git a/geg/os/gview/delimiters/gview_delimiters.go b/geg/os/gview/delimiters/gview_delimiters.go index 46e7a28de..133c883bd 100644 --- a/geg/os/gview/delimiters/gview_delimiters.go +++ b/geg/os/gview/delimiters/gview_delimiters.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g" ) func main() { diff --git a/geg/os/gview/func_html/func_html.go b/geg/os/gview/func_html/func_html.go index dcd47a3aa..95c3e748e 100644 --- a/geg/os/gview/func_html/func_html.go +++ b/geg/os/gview/func_html/func_html.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/os/gview" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g/os/gview" + "github.com/gogf/gf/g" ) func main() { diff --git a/geg/os/gview/func_text/func_text.go b/geg/os/gview/func_text/func_text.go index e38cbb9da..82ceef435 100644 --- a/geg/os/gview/func_text/func_text.go +++ b/geg/os/gview/func_text/func_text.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/os/gview" - "gitee.com/johng/gf/g/util/gutil" + "github.com/gogf/gf/g/os/gview" + "github.com/gogf/gf/g/util/gutil" ) func main() { diff --git a/geg/os/gview/hot_update/controller_hot_update.go b/geg/os/gview/hot_update/controller_hot_update.go index bf7fab13c..42842ded7 100644 --- a/geg/os/gview/hot_update/controller_hot_update.go +++ b/geg/os/gview/hot_update/controller_hot_update.go @@ -2,8 +2,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/frame/gmvc" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/frame/gmvc" ) func init() { diff --git a/geg/os/gview/hot_update/gview_hot_update.go b/geg/os/gview/hot_update/gview_hot_update.go index 0868bf736..62727ce69 100644 --- a/geg/os/gview/hot_update/gview_hot_update.go +++ b/geg/os/gview/hot_update/gview_hot_update.go @@ -4,8 +4,8 @@ package main import ( "fmt" "time" - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/gtime" ) func main() { diff --git a/geg/os/gview/hot_update/web_hot_update.go b/geg/os/gview/hot_update/web_hot_update.go index 00b0da64e..d7bfb2e30 100644 --- a/geg/os/gview/hot_update/web_hot_update.go +++ b/geg/os/gview/hot_update/web_hot_update.go @@ -2,8 +2,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/os/gview/object/object.go b/geg/os/gview/object/object.go index b2695df6a..355b7ffcd 100644 --- a/geg/os/gview/object/object.go +++ b/geg/os/gview/object/object.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g" ) type T struct { diff --git a/geg/os/gview/template/main.go b/geg/os/gview/template/main.go index d1f75f659..56ed76327 100644 --- a/geg/os/gview/template/main.go +++ b/geg/os/gview/template/main.go @@ -3,8 +3,8 @@ package main import ( "fmt" - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/gfile" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/gfile" ) func main() { diff --git a/geg/other/test.go b/geg/other/test.go index 18de00c30..c1a3c59e7 100644 --- a/geg/other/test.go +++ b/geg/other/test.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/container/garray" + "github.com/gogf/gf/g/container/garray" ) func main() { diff --git a/geg/other/test2.go b/geg/other/test2.go index 49f61ef67..4ac7a1741 100644 --- a/geg/other/test2.go +++ b/geg/other/test2.go @@ -2,8 +2,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/net/ghttp" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/net/ghttp" ) func main() { diff --git a/geg/other/try-catch.go b/geg/other/try-catch.go index 1ffa4d5b0..20c4440af 100644 --- a/geg/other/try-catch.go +++ b/geg/other/try-catch.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/glog" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/glog" ) func main() { diff --git a/geg/util/gconv/gconv.go b/geg/util/gconv/gconv.go index eb04af931..4a875a87d 100644 --- a/geg/util/gconv/gconv.go +++ b/geg/util/gconv/gconv.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/util/gconv" ) func main() { diff --git a/geg/util/gconv/gconv_map.go b/geg/util/gconv/gconv_map.go index d82bce740..eeac4bc92 100644 --- a/geg/util/gconv/gconv_map.go +++ b/geg/util/gconv/gconv_map.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/util/gconv" ) func main() { diff --git a/geg/util/gconv/gconv_slice.go b/geg/util/gconv/gconv_slice.go index 11ba23f96..0d3f92582 100644 --- a/geg/util/gconv/gconv_slice.go +++ b/geg/util/gconv/gconv_slice.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/util/gconv" ) // struct转slice diff --git a/geg/util/gconv/gconv_struct1.go b/geg/util/gconv/gconv_struct1.go index b75161583..bd9fdb350 100644 --- a/geg/util/gconv/gconv_struct1.go +++ b/geg/util/gconv/gconv_struct1.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/util/gconv" ) type User struct { diff --git a/geg/util/gconv/gconv_struct2.go b/geg/util/gconv/gconv_struct2.go index 89d83819b..7eb718e2a 100644 --- a/geg/util/gconv/gconv_struct2.go +++ b/geg/util/gconv/gconv_struct2.go @@ -2,8 +2,8 @@ package main import ( "fmt" - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/util/gconv" ) diff --git a/geg/util/gconv/gconv_struct3.go b/geg/util/gconv/gconv_struct3.go index 0b3bf6132..98c7e24bd 100644 --- a/geg/util/gconv/gconv_struct3.go +++ b/geg/util/gconv/gconv_struct3.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g" "fmt" ) diff --git a/geg/util/gconv/gconv_struct4.go b/geg/util/gconv/gconv_struct4.go index 4a69f3015..0d9bd5e9f 100644 --- a/geg/util/gconv/gconv_struct4.go +++ b/geg/util/gconv/gconv_struct4.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g" "fmt" ) diff --git a/geg/util/gconv/gconv_struct5.go b/geg/util/gconv/gconv_struct5.go index 99dcb221b..ceb1c1fae 100644 --- a/geg/util/gconv/gconv_struct5.go +++ b/geg/util/gconv/gconv_struct5.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g" "fmt" ) diff --git a/geg/util/gconv/gconv_struct6.go b/geg/util/gconv/gconv_struct6.go index 3e932984a..01ded0b10 100644 --- a/geg/util/gconv/gconv_struct6.go +++ b/geg/util/gconv/gconv_struct6.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g/util/gconv" - "gitee.com/johng/gf/g" + "github.com/gogf/gf/g/util/gconv" + "github.com/gogf/gf/g" "fmt" ) diff --git a/geg/util/gconv/strings.go b/geg/util/gconv/strings.go index e97b11aea..ba1c67284 100644 --- a/geg/util/gconv/strings.go +++ b/geg/util/gconv/strings.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/util/gconv" ) func main() { diff --git a/geg/util/gconv/time1.go b/geg/util/gconv/time1.go index 27fcd8f57..0a6fb6360 100644 --- a/geg/util/gconv/time1.go +++ b/geg/util/gconv/time1.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/util/gconv" "fmt" "time" ) diff --git a/geg/util/gconv/time2.go b/geg/util/gconv/time2.go index c64763a29..73535a4de 100644 --- a/geg/util/gconv/time2.go +++ b/geg/util/gconv/time2.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/util/gconv" + "github.com/gogf/gf/g/util/gconv" "fmt" ) diff --git a/geg/util/gpage/gpage.go b/geg/util/gpage/gpage.go index 5de56673f..726a6e39d 100644 --- a/geg/util/gpage/gpage.go +++ b/geg/util/gpage/gpage.go @@ -1,10 +1,10 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/gview" - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/util/gpage" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/gview" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/util/gpage" ) func main() { diff --git a/geg/util/gpage/gpage_ajax.go b/geg/util/gpage/gpage_ajax.go index 9fdfa786c..a6161f087 100644 --- a/geg/util/gpage/gpage_ajax.go +++ b/geg/util/gpage/gpage_ajax.go @@ -1,10 +1,10 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/gview" - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/util/gpage" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/gview" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/util/gpage" ) func main() { diff --git a/geg/util/gpage/gpage_custom1.go b/geg/util/gpage/gpage_custom1.go index 68cf489e3..31a878421 100644 --- a/geg/util/gpage/gpage_custom1.go +++ b/geg/util/gpage/gpage_custom1.go @@ -1,11 +1,11 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/gview" - "gitee.com/johng/gf/g/text/gstr" - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/util/gpage" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/gview" + "github.com/gogf/gf/g/text/gstr" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/util/gpage" ) // 分页标签使用li标签包裹 diff --git a/geg/util/gpage/gpage_custom2.go b/geg/util/gpage/gpage_custom2.go index 47ff9c56e..106e95885 100644 --- a/geg/util/gpage/gpage_custom2.go +++ b/geg/util/gpage/gpage_custom2.go @@ -1,10 +1,10 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/gview" - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/util/gpage" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/gview" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/util/gpage" ) // 自定义分页名称 diff --git a/geg/util/gpage/gpage_static1.go b/geg/util/gpage/gpage_static1.go index 313843527..919976d7b 100644 --- a/geg/util/gpage/gpage_static1.go +++ b/geg/util/gpage/gpage_static1.go @@ -1,10 +1,10 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/gview" - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/util/gpage" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/gview" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/util/gpage" ) func main() { diff --git a/geg/util/gpage/gpage_static2.go b/geg/util/gpage/gpage_static2.go index b5c72549b..b57748729 100644 --- a/geg/util/gpage/gpage_static2.go +++ b/geg/util/gpage/gpage_static2.go @@ -1,10 +1,10 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/gview" - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/util/gpage" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/gview" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/util/gpage" ) func main() { diff --git a/geg/util/gpage/gpage_template.go b/geg/util/gpage/gpage_template.go index ec1b8e57c..08e91cdb6 100644 --- a/geg/util/gpage/gpage_template.go +++ b/geg/util/gpage/gpage_template.go @@ -1,10 +1,10 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/os/gview" - "gitee.com/johng/gf/g/net/ghttp" - "gitee.com/johng/gf/g/util/gpage" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/os/gview" + "github.com/gogf/gf/g/net/ghttp" + "github.com/gogf/gf/g/util/gpage" ) func main() { diff --git a/geg/util/grand/grand.go b/geg/util/grand/grand.go index 5aefd3164..55db2bf92 100644 --- a/geg/util/grand/grand.go +++ b/geg/util/grand/grand.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/util/grand" + "github.com/gogf/gf/g/util/grand" ) func main() { diff --git a/geg/util/grand/rand.go b/geg/util/grand/rand.go index 94ffb0091..653445ae0 100644 --- a/geg/util/grand/rand.go +++ b/geg/util/grand/rand.go @@ -4,7 +4,7 @@ import ( crand "crypto/rand" "encoding/binary" "fmt" - "gitee.com/johng/gf/g/os/gtime" + "github.com/gogf/gf/g/os/gtime" mrand "math/rand" "os" "time" diff --git a/geg/util/gregex/gregex.go b/geg/util/gregex/gregex.go index 2eebd54de..ee44a9f64 100644 --- a/geg/util/gregex/gregex.go +++ b/geg/util/gregex/gregex.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/util/gregex" + "github.com/gogf/gf/g/util/gregex" ) func main() { diff --git a/geg/util/gstr/gstr_hidestr.go b/geg/util/gstr/gstr_hidestr.go index db2acc001..fefc7299d 100644 --- a/geg/util/gstr/gstr_hidestr.go +++ b/geg/util/gstr/gstr_hidestr.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/text/gstr" + "github.com/gogf/gf/g/text/gstr" ) func main() { diff --git a/geg/util/gstr/gstr_substr.go b/geg/util/gstr/gstr_substr.go index 090ecbade..c70d5d0fb 100644 --- a/geg/util/gstr/gstr_substr.go +++ b/geg/util/gstr/gstr_substr.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/text/gstr" + "github.com/gogf/gf/g/text/gstr" ) func main() { diff --git a/geg/util/gutil/dump.go b/geg/util/gutil/dump.go index b3df45391..c5241ad49 100644 --- a/geg/util/gutil/dump.go +++ b/geg/util/gutil/dump.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/g/util/gutil" + "github.com/gogf/gf/g/util/gutil" ) func main() { diff --git a/geg/util/gutil/try_catch.go b/geg/util/gutil/try_catch.go index 10084db4e..ac4fcfd27 100644 --- a/geg/util/gutil/try_catch.go +++ b/geg/util/gutil/try_catch.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/util/gutil" + "github.com/gogf/gf/g/util/gutil" ) func main() { diff --git a/geg/util/gvalid/gvalid.go b/geg/util/gvalid/gvalid.go index 90e41572d..cf866a36a 100644 --- a/geg/util/gvalid/gvalid.go +++ b/geg/util/gvalid/gvalid.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/util/gvalid" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/util/gvalid" ) func main() { diff --git a/geg/util/gvalid/gvalid_error.go b/geg/util/gvalid/gvalid_error.go index cf033b191..b2a767ca5 100644 --- a/geg/util/gvalid/gvalid_error.go +++ b/geg/util/gvalid/gvalid_error.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/util/gvalid" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/util/gvalid" ) diff --git a/geg/util/gvalid/gvalid_result.go b/geg/util/gvalid/gvalid_result.go index 931eb5c5e..761789c99 100644 --- a/geg/util/gvalid/gvalid_result.go +++ b/geg/util/gvalid/gvalid_result.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/util/gvalid" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/util/gvalid" ) func main() { diff --git a/geg/util/gvalid/gvalid_sequence.go b/geg/util/gvalid/gvalid_sequence.go index 59ecbcf4b..45a2d0e54 100644 --- a/geg/util/gvalid/gvalid_sequence.go +++ b/geg/util/gvalid/gvalid_sequence.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/g/util/gvalid" + "github.com/gogf/gf/g/util/gvalid" ) func main() { diff --git a/geg/util/gvalid/gvalid_struct1.go b/geg/util/gvalid/gvalid_struct1.go index b00b75ce8..10b3c2b81 100644 --- a/geg/util/gvalid/gvalid_struct1.go +++ b/geg/util/gvalid/gvalid_struct1.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/util/gvalid" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/util/gvalid" ) type User struct { diff --git a/geg/util/gvalid/gvalid_struct2.go b/geg/util/gvalid/gvalid_struct2.go index 16ef7c1c8..3f2a059ac 100644 --- a/geg/util/gvalid/gvalid_struct2.go +++ b/geg/util/gvalid/gvalid_struct2.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/util/gvalid" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/util/gvalid" ) diff --git a/geg/util/gvalid/gvalid_struct3.go b/geg/util/gvalid/gvalid_struct3.go index 732779384..0a683affe 100644 --- a/geg/util/gvalid/gvalid_struct3.go +++ b/geg/util/gvalid/gvalid_struct3.go @@ -1,8 +1,8 @@ package main import ( - "gitee.com/johng/gf/g" - "gitee.com/johng/gf/g/util/gvalid" + "github.com/gogf/gf/g" + "github.com/gogf/gf/g/util/gvalid" ) diff --git a/go.mod b/go.mod index bbbcfe08e..ef37cb8d6 100644 --- a/go.mod +++ b/go.mod @@ -1 +1 @@ -module gitee.com/johng/gf +module github.com/gogf/gf diff --git a/third/github.com/Shopify/sarama/async_producer.go b/third/github.com/Shopify/sarama/async_producer.go index db8f45933..39b5c6e28 100644 --- a/third/github.com/Shopify/sarama/async_producer.go +++ b/third/github.com/Shopify/sarama/async_producer.go @@ -6,8 +6,8 @@ import ( "sync" "time" - "gitee.com/johng/gf/third/github.com/eapache/go-resiliency/breaker" - "gitee.com/johng/gf/third/github.com/eapache/queue" + "github.com/gogf/gf/third/github.com/eapache/go-resiliency/breaker" + "github.com/gogf/gf/third/github.com/eapache/queue" ) // AsyncProducer publishes Kafka messages using a non-blocking API. It routes messages diff --git a/third/github.com/Shopify/sarama/broker.go b/third/github.com/Shopify/sarama/broker.go index 28730e9de..b9034aa3e 100644 --- a/third/github.com/Shopify/sarama/broker.go +++ b/third/github.com/Shopify/sarama/broker.go @@ -11,7 +11,7 @@ import ( "sync/atomic" "time" - "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics" + "github.com/gogf/gf/third/github.com/rcrowley/go-metrics" ) // Broker represents a single Kafka broker connection. All operations on this object are entirely concurrency-safe. diff --git a/third/github.com/Shopify/sarama/compress.go b/third/github.com/Shopify/sarama/compress.go index fb5ea83a0..ef6a63294 100644 --- a/third/github.com/Shopify/sarama/compress.go +++ b/third/github.com/Shopify/sarama/compress.go @@ -6,8 +6,8 @@ import ( "fmt" "sync" - "gitee.com/johng/gf/third/github.com/eapache/go-xerial-snappy" - "gitee.com/johng/gf/third/github.com/pierrec/lz4" + "github.com/gogf/gf/third/github.com/eapache/go-xerial-snappy" + "github.com/gogf/gf/third/github.com/pierrec/lz4" ) var ( diff --git a/third/github.com/Shopify/sarama/config.go b/third/github.com/Shopify/sarama/config.go index 7adab5c08..f7f6619f4 100644 --- a/third/github.com/Shopify/sarama/config.go +++ b/third/github.com/Shopify/sarama/config.go @@ -9,7 +9,7 @@ import ( "regexp" "time" - "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics" + "github.com/gogf/gf/third/github.com/rcrowley/go-metrics" ) const defaultClientID = "sarama" diff --git a/third/github.com/Shopify/sarama/config_test.go b/third/github.com/Shopify/sarama/config_test.go index ab13ca7e5..58f05a184 100644 --- a/third/github.com/Shopify/sarama/config_test.go +++ b/third/github.com/Shopify/sarama/config_test.go @@ -4,7 +4,7 @@ import ( "os" "testing" - "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics" + "github.com/gogf/gf/third/github.com/rcrowley/go-metrics" ) func TestDefaultConfigValidates(t *testing.T) { diff --git a/third/github.com/Shopify/sarama/decompress.go b/third/github.com/Shopify/sarama/decompress.go index c6e126ea2..f4cc3b389 100644 --- a/third/github.com/Shopify/sarama/decompress.go +++ b/third/github.com/Shopify/sarama/decompress.go @@ -7,8 +7,8 @@ import ( "io/ioutil" "sync" - "gitee.com/johng/gf/third/github.com/eapache/go-xerial-snappy" - "gitee.com/johng/gf/third/github.com/pierrec/lz4" + "github.com/gogf/gf/third/github.com/eapache/go-xerial-snappy" + "github.com/gogf/gf/third/github.com/pierrec/lz4" ) var ( diff --git a/third/github.com/Shopify/sarama/encoder_decoder.go b/third/github.com/Shopify/sarama/encoder_decoder.go index 99561138e..98bf77a6d 100644 --- a/third/github.com/Shopify/sarama/encoder_decoder.go +++ b/third/github.com/Shopify/sarama/encoder_decoder.go @@ -3,7 +3,7 @@ package sarama import ( "fmt" - "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics" + "github.com/gogf/gf/third/github.com/rcrowley/go-metrics" ) // Encoder is the interface that wraps the basic Encode method. diff --git a/third/github.com/Shopify/sarama/functional_producer_test.go b/third/github.com/Shopify/sarama/functional_producer_test.go index bf1e923ed..6843520f7 100644 --- a/third/github.com/Shopify/sarama/functional_producer_test.go +++ b/third/github.com/Shopify/sarama/functional_producer_test.go @@ -7,8 +7,8 @@ import ( "testing" "time" - toxiproxy "gitee.com/johng/gf/third/github.com/Shopify/toxiproxy/client" - "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics" + toxiproxy "github.com/gogf/gf/third/github.com/Shopify/toxiproxy/client" + "github.com/gogf/gf/third/github.com/rcrowley/go-metrics" ) const TestBatchSize = 1000 diff --git a/third/github.com/Shopify/sarama/functional_test.go b/third/github.com/Shopify/sarama/functional_test.go index 83039ae8f..116a78c3a 100644 --- a/third/github.com/Shopify/sarama/functional_test.go +++ b/third/github.com/Shopify/sarama/functional_test.go @@ -10,7 +10,7 @@ import ( "testing" "time" - toxiproxy "gitee.com/johng/gf/third/github.com/Shopify/toxiproxy/client" + toxiproxy "github.com/gogf/gf/third/github.com/Shopify/toxiproxy/client" ) const ( diff --git a/third/github.com/Shopify/sarama/metrics.go b/third/github.com/Shopify/sarama/metrics.go index 098cd7fef..9935a3e2b 100644 --- a/third/github.com/Shopify/sarama/metrics.go +++ b/third/github.com/Shopify/sarama/metrics.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics" + "github.com/gogf/gf/third/github.com/rcrowley/go-metrics" ) // Use exponentially decaying reservoir for sampling histograms with the same defaults as the Java library: diff --git a/third/github.com/Shopify/sarama/metrics_test.go b/third/github.com/Shopify/sarama/metrics_test.go index de3975c03..1f7fae21c 100644 --- a/third/github.com/Shopify/sarama/metrics_test.go +++ b/third/github.com/Shopify/sarama/metrics_test.go @@ -3,7 +3,7 @@ package sarama import ( "testing" - "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics" + "github.com/gogf/gf/third/github.com/rcrowley/go-metrics" ) func TestGetOrRegisterHistogram(t *testing.T) { diff --git a/third/github.com/Shopify/sarama/mockbroker.go b/third/github.com/Shopify/sarama/mockbroker.go index 71f36912b..23a958092 100644 --- a/third/github.com/Shopify/sarama/mockbroker.go +++ b/third/github.com/Shopify/sarama/mockbroker.go @@ -11,7 +11,7 @@ import ( "sync" "time" - "gitee.com/johng/gf/third/github.com/davecgh/go-spew/spew" + "github.com/gogf/gf/third/github.com/davecgh/go-spew/spew" ) const ( diff --git a/third/github.com/Shopify/sarama/mocks/async_producer.go b/third/github.com/Shopify/sarama/mocks/async_producer.go index f428b4f17..53bc10c67 100644 --- a/third/github.com/Shopify/sarama/mocks/async_producer.go +++ b/third/github.com/Shopify/sarama/mocks/async_producer.go @@ -3,7 +3,7 @@ package mocks import ( "sync" - "gitee.com/johng/gf/third/github.com/Shopify/sarama" + "github.com/gogf/gf/third/github.com/Shopify/sarama" ) // AsyncProducer implements sarama's Producer interface for testing purposes. diff --git a/third/github.com/Shopify/sarama/mocks/async_producer_test.go b/third/github.com/Shopify/sarama/mocks/async_producer_test.go index 882dc676d..827b14111 100644 --- a/third/github.com/Shopify/sarama/mocks/async_producer_test.go +++ b/third/github.com/Shopify/sarama/mocks/async_producer_test.go @@ -7,7 +7,7 @@ import ( "strings" "testing" - "gitee.com/johng/gf/third/github.com/Shopify/sarama" + "github.com/gogf/gf/third/github.com/Shopify/sarama" ) func generateRegexpChecker(re string) func([]byte) error { diff --git a/third/github.com/Shopify/sarama/mocks/consumer.go b/third/github.com/Shopify/sarama/mocks/consumer.go index 72c775972..f6679f7d7 100644 --- a/third/github.com/Shopify/sarama/mocks/consumer.go +++ b/third/github.com/Shopify/sarama/mocks/consumer.go @@ -4,7 +4,7 @@ import ( "sync" "sync/atomic" - "gitee.com/johng/gf/third/github.com/Shopify/sarama" + "github.com/gogf/gf/third/github.com/Shopify/sarama" ) // Consumer implements sarama's Consumer interface for testing purposes. diff --git a/third/github.com/Shopify/sarama/mocks/consumer_test.go b/third/github.com/Shopify/sarama/mocks/consumer_test.go index e86f4ab5c..6f08d386c 100644 --- a/third/github.com/Shopify/sarama/mocks/consumer_test.go +++ b/third/github.com/Shopify/sarama/mocks/consumer_test.go @@ -4,7 +4,7 @@ import ( "sort" "testing" - "gitee.com/johng/gf/third/github.com/Shopify/sarama" + "github.com/gogf/gf/third/github.com/Shopify/sarama" ) func TestMockConsumerImplementsConsumerInterface(t *testing.T) { diff --git a/third/github.com/Shopify/sarama/mocks/mocks.go b/third/github.com/Shopify/sarama/mocks/mocks.go index 1c268f2a6..b0368b1a8 100644 --- a/third/github.com/Shopify/sarama/mocks/mocks.go +++ b/third/github.com/Shopify/sarama/mocks/mocks.go @@ -16,7 +16,7 @@ package mocks import ( "errors" - "gitee.com/johng/gf/third/github.com/Shopify/sarama" + "github.com/gogf/gf/third/github.com/Shopify/sarama" ) // ErrorReporter is a simple interface that includes the testing.T methods we use to report diff --git a/third/github.com/Shopify/sarama/mocks/sync_producer.go b/third/github.com/Shopify/sarama/mocks/sync_producer.go index 4c275a33d..c88fac6eb 100644 --- a/third/github.com/Shopify/sarama/mocks/sync_producer.go +++ b/third/github.com/Shopify/sarama/mocks/sync_producer.go @@ -3,7 +3,7 @@ package mocks import ( "sync" - "gitee.com/johng/gf/third/github.com/Shopify/sarama" + "github.com/gogf/gf/third/github.com/Shopify/sarama" ) // SyncProducer implements sarama's SyncProducer interface for testing purposes. diff --git a/third/github.com/Shopify/sarama/mocks/sync_producer_test.go b/third/github.com/Shopify/sarama/mocks/sync_producer_test.go index aff80bd65..b967666fa 100644 --- a/third/github.com/Shopify/sarama/mocks/sync_producer_test.go +++ b/third/github.com/Shopify/sarama/mocks/sync_producer_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "gitee.com/johng/gf/third/github.com/Shopify/sarama" + "github.com/gogf/gf/third/github.com/Shopify/sarama" ) func TestMockSyncProducerImplementsSyncProducerInterface(t *testing.T) { diff --git a/third/github.com/Shopify/sarama/packet_encoder.go b/third/github.com/Shopify/sarama/packet_encoder.go index b0cbb503e..fb771daab 100644 --- a/third/github.com/Shopify/sarama/packet_encoder.go +++ b/third/github.com/Shopify/sarama/packet_encoder.go @@ -1,6 +1,6 @@ package sarama -import "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics" +import "github.com/gogf/gf/third/github.com/rcrowley/go-metrics" // PacketEncoder is the interface providing helpers for writing with Kafka's encoding rules. // Types implementing Encoder only need to worry about calling methods like PutString, diff --git a/third/github.com/Shopify/sarama/prep_encoder.go b/third/github.com/Shopify/sarama/prep_encoder.go index 4b2394251..85ee89cc2 100644 --- a/third/github.com/Shopify/sarama/prep_encoder.go +++ b/third/github.com/Shopify/sarama/prep_encoder.go @@ -5,7 +5,7 @@ import ( "fmt" "math" - "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics" + "github.com/gogf/gf/third/github.com/rcrowley/go-metrics" ) type prepEncoder struct { diff --git a/third/github.com/Shopify/sarama/produce_request.go b/third/github.com/Shopify/sarama/produce_request.go index 2e1916bff..bbb4c8500 100644 --- a/third/github.com/Shopify/sarama/produce_request.go +++ b/third/github.com/Shopify/sarama/produce_request.go @@ -1,6 +1,6 @@ package sarama -import "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics" +import "github.com/gogf/gf/third/github.com/rcrowley/go-metrics" // RequiredAcks is used in Produce Requests to tell the broker how many replica acknowledgements // it must see before responding. Any of the constants defined here are valid. On broker versions diff --git a/third/github.com/Shopify/sarama/real_encoder.go b/third/github.com/Shopify/sarama/real_encoder.go index b6e6476df..f3fbe2795 100644 --- a/third/github.com/Shopify/sarama/real_encoder.go +++ b/third/github.com/Shopify/sarama/real_encoder.go @@ -3,7 +3,7 @@ package sarama import ( "encoding/binary" - "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics" + "github.com/gogf/gf/third/github.com/rcrowley/go-metrics" ) type realEncoder struct { diff --git a/third/github.com/Shopify/sarama/record_test.go b/third/github.com/Shopify/sarama/record_test.go index 0fbb833a0..bece24dcf 100644 --- a/third/github.com/Shopify/sarama/record_test.go +++ b/third/github.com/Shopify/sarama/record_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "gitee.com/johng/gf/third/github.com/davecgh/go-spew/spew" + "github.com/gogf/gf/third/github.com/davecgh/go-spew/spew" ) var recordBatchTestCases = []struct { diff --git a/third/github.com/Shopify/sarama/request_test.go b/third/github.com/Shopify/sarama/request_test.go index e65c34a13..4633dd2df 100644 --- a/third/github.com/Shopify/sarama/request_test.go +++ b/third/github.com/Shopify/sarama/request_test.go @@ -5,7 +5,7 @@ import ( "reflect" "testing" - "gitee.com/johng/gf/third/github.com/davecgh/go-spew/spew" + "github.com/gogf/gf/third/github.com/davecgh/go-spew/spew" ) type testRequestBody struct { diff --git a/third/github.com/Shopify/sarama/tools/kafka-console-consumer/kafka-console-consumer.go b/third/github.com/Shopify/sarama/tools/kafka-console-consumer/kafka-console-consumer.go index 45f0d0f2d..4e9f2eaff 100644 --- a/third/github.com/Shopify/sarama/tools/kafka-console-consumer/kafka-console-consumer.go +++ b/third/github.com/Shopify/sarama/tools/kafka-console-consumer/kafka-console-consumer.go @@ -10,7 +10,7 @@ import ( "strings" "sync" - "gitee.com/johng/gf/third/github.com/Shopify/sarama" + "github.com/gogf/gf/third/github.com/Shopify/sarama" ) var ( diff --git a/third/github.com/Shopify/sarama/tools/kafka-console-partitionconsumer/kafka-console-partitionconsumer.go b/third/github.com/Shopify/sarama/tools/kafka-console-partitionconsumer/kafka-console-partitionconsumer.go index 55c3ce20a..0de9401c7 100644 --- a/third/github.com/Shopify/sarama/tools/kafka-console-partitionconsumer/kafka-console-partitionconsumer.go +++ b/third/github.com/Shopify/sarama/tools/kafka-console-partitionconsumer/kafka-console-partitionconsumer.go @@ -9,7 +9,7 @@ import ( "strconv" "strings" - "gitee.com/johng/gf/third/github.com/Shopify/sarama" + "github.com/gogf/gf/third/github.com/Shopify/sarama" ) var ( diff --git a/third/github.com/Shopify/sarama/tools/kafka-console-producer/kafka-console-producer.go b/third/github.com/Shopify/sarama/tools/kafka-console-producer/kafka-console-producer.go index 7fce88233..3bb951f16 100644 --- a/third/github.com/Shopify/sarama/tools/kafka-console-producer/kafka-console-producer.go +++ b/third/github.com/Shopify/sarama/tools/kafka-console-producer/kafka-console-producer.go @@ -8,8 +8,8 @@ import ( "os" "strings" - "gitee.com/johng/gf/third/github.com/Shopify/sarama" - "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics" + "github.com/gogf/gf/third/github.com/Shopify/sarama" + "github.com/gogf/gf/third/github.com/rcrowley/go-metrics" ) var ( diff --git a/third/github.com/Shopify/sarama/zstd_cgo.go b/third/github.com/Shopify/sarama/zstd_cgo.go index 53e03773e..ea9d0aa4f 100644 --- a/third/github.com/Shopify/sarama/zstd_cgo.go +++ b/third/github.com/Shopify/sarama/zstd_cgo.go @@ -2,7 +2,7 @@ package sarama -import "gitee.com/johng/gf/third/github.com/DataDog/zstd" +import "github.com/gogf/gf/third/github.com/DataDog/zstd" func zstdDecompress(dst, src []byte) ([]byte, error) { return zstd.Decompress(dst, src) diff --git a/third/github.com/axgle/mahonia/README.md b/third/github.com/axgle/mahonia/README.md index 75a20d258..619795498 100644 --- a/third/github.com/axgle/mahonia/README.md +++ b/third/github.com/axgle/mahonia/README.md @@ -18,7 +18,7 @@ example package main import "fmt" - import "gitee.com/johng/gf/third/github.com/axgle/mahonia" + import "github.com/gogf/gf/third/github.com/axgle/mahonia" func main(){ enc:=mahonia.NewEncoder("gbk") //converts a string from UTF-8 to gbk encoding. diff --git a/third/github.com/axgle/mahonia/mahoniconv/mahoniconv.go b/third/github.com/axgle/mahonia/mahoniconv/mahoniconv.go index 0a7b94838..8f4b9afc1 100644 --- a/third/github.com/axgle/mahonia/mahoniconv/mahoniconv.go +++ b/third/github.com/axgle/mahonia/mahoniconv/mahoniconv.go @@ -1,7 +1,7 @@ package main import ( - "gitee.com/johng/gf/third/github.com/axgle/mahonia" + "github.com/gogf/gf/third/github.com/axgle/mahonia" "flag" "io" "log" diff --git a/third/github.com/clbanning/mxj/anyxml.go b/third/github.com/clbanning/mxj/anyxml.go index 20aa9b045..3d0b9e765 100644 --- a/third/github.com/clbanning/mxj/anyxml.go +++ b/third/github.com/clbanning/mxj/anyxml.go @@ -21,7 +21,7 @@ const ( import ( "encoding/json" "fmt" - "gitee.com/johng/gf/third/github.com/clbanning/mxj" + "github.com/gogf/gf/third/github.com/clbanning/mxj" ) func main() { diff --git a/third/github.com/clbanning/mxj/example_test.go b/third/github.com/clbanning/mxj/example_test.go index 211418b81..9fbe6a817 100644 --- a/third/github.com/clbanning/mxj/example_test.go +++ b/third/github.com/clbanning/mxj/example_test.go @@ -10,7 +10,7 @@ package mxj_test import ( "bytes" "fmt" - "gitee.com/johng/gf/third/github.com/clbanning/mxj" + "github.com/gogf/gf/third/github.com/clbanning/mxj" "io" ) diff --git a/third/github.com/clbanning/mxj/j2x/j2x.go b/third/github.com/clbanning/mxj/j2x/j2x.go index 98f70df00..4715665a1 100644 --- a/third/github.com/clbanning/mxj/j2x/j2x.go +++ b/third/github.com/clbanning/mxj/j2x/j2x.go @@ -7,7 +7,7 @@ package j2x import ( - . "gitee.com/johng/gf/third/github.com/clbanning/mxj" + . "github.com/gogf/gf/third/github.com/clbanning/mxj" "io" ) diff --git a/third/github.com/clbanning/mxj/struct.go b/third/github.com/clbanning/mxj/struct.go index 272e87dcc..c916daca1 100644 --- a/third/github.com/clbanning/mxj/struct.go +++ b/third/github.com/clbanning/mxj/struct.go @@ -9,7 +9,7 @@ import ( "errors" "reflect" - // "gitee.com/johng/gf/third/github.com/fatih/structs" + // "github.com/gogf/gf/third/github.com/fatih/structs" ) // Create a new Map value from a structure. Error returned if argument is not a structure. @@ -17,7 +17,7 @@ import ( // for handling of "structs" tags. // DEPRECATED - import github.com/fatih/structs and cast result of structs.Map to mxj.Map. -// import "gitee.com/johng/gf/third/github.com/fatih/structs" +// import "github.com/gogf/gf/third/github.com/fatih/structs" // ... // sm, err := structs.Map() // if err != nil { diff --git a/third/github.com/clbanning/mxj/x2j-wrapper/reader2j.go b/third/github.com/clbanning/mxj/x2j-wrapper/reader2j.go index e0860707f..8f6e93727 100755 --- a/third/github.com/clbanning/mxj/x2j-wrapper/reader2j.go +++ b/third/github.com/clbanning/mxj/x2j-wrapper/reader2j.go @@ -10,7 +10,7 @@ import ( "encoding/json" "io" - "gitee.com/johng/gf/third/github.com/clbanning/mxj" + "github.com/gogf/gf/third/github.com/clbanning/mxj" ) // ToMap() - parse a XML io.Reader to a map[string]interface{} diff --git a/third/github.com/clbanning/mxj/x2j-wrapper/x2j.go b/third/github.com/clbanning/mxj/x2j-wrapper/x2j.go index 53b1e671b..ab9bdba3c 100755 --- a/third/github.com/clbanning/mxj/x2j-wrapper/x2j.go +++ b/third/github.com/clbanning/mxj/x2j-wrapper/x2j.go @@ -81,7 +81,7 @@ import ( "strconv" "strings" - "gitee.com/johng/gf/third/github.com/clbanning/mxj" + "github.com/gogf/gf/third/github.com/clbanning/mxj" ) // If X2jCharsetReader != nil, it will be used to decode the doc or stream if required diff --git a/third/github.com/clbanning/mxj/x2j-wrapper/x2j_bulk.go b/third/github.com/clbanning/mxj/x2j-wrapper/x2j_bulk.go index cd2d6735c..df6b869b8 100755 --- a/third/github.com/clbanning/mxj/x2j-wrapper/x2j_bulk.go +++ b/third/github.com/clbanning/mxj/x2j-wrapper/x2j_bulk.go @@ -13,7 +13,7 @@ import ( "os" "regexp" - "gitee.com/johng/gf/third/github.com/clbanning/mxj" + "github.com/gogf/gf/third/github.com/clbanning/mxj" ) // XmlMsgsFromFileAsJson() diff --git a/third/github.com/clbanning/mxj/x2j-wrapper/x2j_findPath.go b/third/github.com/clbanning/mxj/x2j-wrapper/x2j_findPath.go index 838172328..ee8bbd692 100755 --- a/third/github.com/clbanning/mxj/x2j-wrapper/x2j_findPath.go +++ b/third/github.com/clbanning/mxj/x2j-wrapper/x2j_findPath.go @@ -8,7 +8,7 @@ package x2j import ( "strings" - "gitee.com/johng/gf/third/github.com/clbanning/mxj" + "github.com/gogf/gf/third/github.com/clbanning/mxj" ) //----------------------------- find all paths to a key -------------------------------- diff --git a/third/github.com/clbanning/mxj/x2j-wrapper/x2j_valuesAt.go b/third/github.com/clbanning/mxj/x2j-wrapper/x2j_valuesAt.go index eb814e5e8..50c74c976 100755 --- a/third/github.com/clbanning/mxj/x2j-wrapper/x2j_valuesAt.go +++ b/third/github.com/clbanning/mxj/x2j-wrapper/x2j_valuesAt.go @@ -10,7 +10,7 @@ package x2j import ( "strings" - "gitee.com/johng/gf/third/github.com/clbanning/mxj" + "github.com/gogf/gf/third/github.com/clbanning/mxj" ) // ------------------- sweep up everything for some point in the node tree --------------------- diff --git a/third/github.com/clbanning/mxj/x2j-wrapper/x2j_valuesFrom.go b/third/github.com/clbanning/mxj/x2j-wrapper/x2j_valuesFrom.go index 2d170e16a..f7b3ad639 100755 --- a/third/github.com/clbanning/mxj/x2j-wrapper/x2j_valuesFrom.go +++ b/third/github.com/clbanning/mxj/x2j-wrapper/x2j_valuesFrom.go @@ -9,7 +9,7 @@ package x2j import ( "strings" - "gitee.com/johng/gf/third/github.com/clbanning/mxj" + "github.com/gogf/gf/third/github.com/clbanning/mxj" ) // ------------------- sweep up everything for some point in the node tree --------------------- diff --git a/third/github.com/clbanning/mxj/x2j-wrapper/x2m_bulk.go b/third/github.com/clbanning/mxj/x2j-wrapper/x2m_bulk.go index 2e86871f0..4471cb969 100755 --- a/third/github.com/clbanning/mxj/x2j-wrapper/x2m_bulk.go +++ b/third/github.com/clbanning/mxj/x2j-wrapper/x2m_bulk.go @@ -12,7 +12,7 @@ import ( "os" "regexp" - "gitee.com/johng/gf/third/github.com/clbanning/mxj" + "github.com/gogf/gf/third/github.com/clbanning/mxj" ) // XmlMsgsFromFile() diff --git a/third/github.com/clbanning/mxj/x2j/x2j.go b/third/github.com/clbanning/mxj/x2j/x2j.go index 4cb783bab..cd1dec076 100644 --- a/third/github.com/clbanning/mxj/x2j/x2j.go +++ b/third/github.com/clbanning/mxj/x2j/x2j.go @@ -7,7 +7,7 @@ package x2j import ( - . "gitee.com/johng/gf/third/github.com/clbanning/mxj" + . "github.com/gogf/gf/third/github.com/clbanning/mxj" "io" ) diff --git a/third/github.com/davecgh/go-spew/README.md b/third/github.com/davecgh/go-spew/README.md index fb883b428..757a7408a 100644 --- a/third/github.com/davecgh/go-spew/README.md +++ b/third/github.com/davecgh/go-spew/README.md @@ -39,7 +39,7 @@ $ go get -u github.com/davecgh/go-spew/spew Add this import line to the file you're working in: ```Go -import "gitee.com/johng/gf/third/github.com/davecgh/go-spew/spew" +import "github.com/gogf/gf/third/github.com/davecgh/go-spew/spew" ``` To dump a variable with full newlines, indentation, type, and pointer @@ -75,7 +75,7 @@ import ( "html" "net/http" - "gitee.com/johng/gf/third/github.com/davecgh/go-spew/spew" + "github.com/gogf/gf/third/github.com/davecgh/go-spew/spew" ) func handler(w http.ResponseWriter, r *http.Request) { diff --git a/third/github.com/davecgh/go-spew/spew/common_test.go b/third/github.com/davecgh/go-spew/spew/common_test.go index fd10c1a9f..b625aab07 100644 --- a/third/github.com/davecgh/go-spew/spew/common_test.go +++ b/third/github.com/davecgh/go-spew/spew/common_test.go @@ -21,7 +21,7 @@ import ( "reflect" "testing" - "gitee.com/johng/gf/third/github.com/davecgh/go-spew/spew" + "github.com/gogf/gf/third/github.com/davecgh/go-spew/spew" ) // custom type to test Stinger interface on non-pointer receiver. diff --git a/third/github.com/davecgh/go-spew/spew/dump_test.go b/third/github.com/davecgh/go-spew/spew/dump_test.go index c9cbac7f4..37f4032e1 100644 --- a/third/github.com/davecgh/go-spew/spew/dump_test.go +++ b/third/github.com/davecgh/go-spew/spew/dump_test.go @@ -67,7 +67,7 @@ import ( "testing" "unsafe" - "gitee.com/johng/gf/third/github.com/davecgh/go-spew/spew" + "github.com/gogf/gf/third/github.com/davecgh/go-spew/spew" ) // dumpTest is used to describe a test to be performed against the Dump method. diff --git a/third/github.com/davecgh/go-spew/spew/dumpcgo_test.go b/third/github.com/davecgh/go-spew/spew/dumpcgo_test.go index 1aba16d4d..1ba28a9b5 100644 --- a/third/github.com/davecgh/go-spew/spew/dumpcgo_test.go +++ b/third/github.com/davecgh/go-spew/spew/dumpcgo_test.go @@ -26,7 +26,7 @@ package spew_test import ( "fmt" - "gitee.com/johng/gf/third/github.com/davecgh/go-spew/spew/testdata" + "github.com/gogf/gf/third/github.com/davecgh/go-spew/spew/testdata" ) func addCgoDumpTests() { diff --git a/third/github.com/davecgh/go-spew/spew/example_test.go b/third/github.com/davecgh/go-spew/spew/example_test.go index c6ce9f3f4..b0a6f682a 100644 --- a/third/github.com/davecgh/go-spew/spew/example_test.go +++ b/third/github.com/davecgh/go-spew/spew/example_test.go @@ -19,7 +19,7 @@ package spew_test import ( "fmt" - "gitee.com/johng/gf/third/github.com/davecgh/go-spew/spew" + "github.com/gogf/gf/third/github.com/davecgh/go-spew/spew" ) type Flag int diff --git a/third/github.com/davecgh/go-spew/spew/format_test.go b/third/github.com/davecgh/go-spew/spew/format_test.go index b9837c8af..3e0aebc28 100644 --- a/third/github.com/davecgh/go-spew/spew/format_test.go +++ b/third/github.com/davecgh/go-spew/spew/format_test.go @@ -72,7 +72,7 @@ import ( "testing" "unsafe" - "gitee.com/johng/gf/third/github.com/davecgh/go-spew/spew" + "github.com/gogf/gf/third/github.com/davecgh/go-spew/spew" ) // formatterTest is used to describe a test to be performed against NewFormatter. diff --git a/third/github.com/davecgh/go-spew/spew/spew_test.go b/third/github.com/davecgh/go-spew/spew/spew_test.go index bfbee64ee..67d5b587a 100644 --- a/third/github.com/davecgh/go-spew/spew/spew_test.go +++ b/third/github.com/davecgh/go-spew/spew/spew_test.go @@ -23,7 +23,7 @@ import ( "os" "testing" - "gitee.com/johng/gf/third/github.com/davecgh/go-spew/spew" + "github.com/gogf/gf/third/github.com/davecgh/go-spew/spew" ) // spewFunc is used to identify which public function of the spew package or diff --git a/third/github.com/eapache/go-xerial-snappy/snappy.go b/third/github.com/eapache/go-xerial-snappy/snappy.go index 426f7af3b..197433f85 100644 --- a/third/github.com/eapache/go-xerial-snappy/snappy.go +++ b/third/github.com/eapache/go-xerial-snappy/snappy.go @@ -4,7 +4,7 @@ import ( "bytes" "encoding/binary" - master "gitee.com/johng/gf/third/github.com/golang/snappy" + master "github.com/gogf/gf/third/github.com/golang/snappy" ) var xerialHeader = []byte{130, 83, 78, 65, 80, 80, 89, 0} diff --git a/third/github.com/fsnotify/fsnotify/example_test.go b/third/github.com/fsnotify/fsnotify/example_test.go index 2b7ca65f1..ab5a606cb 100644 --- a/third/github.com/fsnotify/fsnotify/example_test.go +++ b/third/github.com/fsnotify/fsnotify/example_test.go @@ -9,7 +9,7 @@ package fsnotify_test import ( "log" - "gitee.com/johng/gf/third/github.com/fsnotify/fsnotify" + "github.com/gogf/gf/third/github.com/fsnotify/fsnotify" ) func ExampleNewWatcher() { diff --git a/third/github.com/fsnotify/fsnotify/inotify.go b/third/github.com/fsnotify/fsnotify/inotify.go index d2e5689e0..470659fe4 100644 --- a/third/github.com/fsnotify/fsnotify/inotify.go +++ b/third/github.com/fsnotify/fsnotify/inotify.go @@ -16,7 +16,7 @@ import ( "sync" "unsafe" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) // Watcher watches a set of files, delivering events to a channel. diff --git a/third/github.com/fsnotify/fsnotify/inotify_poller.go b/third/github.com/fsnotify/fsnotify/inotify_poller.go index 48a5d8f9b..832112fdd 100644 --- a/third/github.com/fsnotify/fsnotify/inotify_poller.go +++ b/third/github.com/fsnotify/fsnotify/inotify_poller.go @@ -9,7 +9,7 @@ package fsnotify import ( "errors" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) type fdPoller struct { diff --git a/third/github.com/fsnotify/fsnotify/inotify_poller_test.go b/third/github.com/fsnotify/fsnotify/inotify_poller_test.go index cb888d991..e001c1c63 100644 --- a/third/github.com/fsnotify/fsnotify/inotify_poller_test.go +++ b/third/github.com/fsnotify/fsnotify/inotify_poller_test.go @@ -10,7 +10,7 @@ import ( "testing" "time" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) type testFd [2]int diff --git a/third/github.com/fsnotify/fsnotify/integration_darwin_test.go b/third/github.com/fsnotify/fsnotify/integration_darwin_test.go index 9eaee18b9..bbadc1ad5 100644 --- a/third/github.com/fsnotify/fsnotify/integration_darwin_test.go +++ b/third/github.com/fsnotify/fsnotify/integration_darwin_test.go @@ -10,7 +10,7 @@ import ( "testing" "time" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) // testExchangedataForWatcher tests the watcher with the exchangedata operation on macOS. diff --git a/third/github.com/fsnotify/fsnotify/kqueue.go b/third/github.com/fsnotify/fsnotify/kqueue.go index 7d2dd4b1b..963a806b5 100644 --- a/third/github.com/fsnotify/fsnotify/kqueue.go +++ b/third/github.com/fsnotify/fsnotify/kqueue.go @@ -15,7 +15,7 @@ import ( "sync" "time" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) // Watcher watches a set of files, delivering events to a channel. diff --git a/third/github.com/fsnotify/fsnotify/open_mode_bsd.go b/third/github.com/fsnotify/fsnotify/open_mode_bsd.go index d8d465a5d..8bf2e852e 100644 --- a/third/github.com/fsnotify/fsnotify/open_mode_bsd.go +++ b/third/github.com/fsnotify/fsnotify/open_mode_bsd.go @@ -6,6 +6,6 @@ package fsnotify -import "gitee.com/johng/gf/third/golang.org/x/sys/unix" +import "github.com/gogf/gf/third/golang.org/x/sys/unix" const openMode = unix.O_NONBLOCK | unix.O_RDONLY diff --git a/third/github.com/fsnotify/fsnotify/open_mode_darwin.go b/third/github.com/fsnotify/fsnotify/open_mode_darwin.go index ded302ef5..57cfe09f8 100644 --- a/third/github.com/fsnotify/fsnotify/open_mode_darwin.go +++ b/third/github.com/fsnotify/fsnotify/open_mode_darwin.go @@ -6,7 +6,7 @@ package fsnotify -import "gitee.com/johng/gf/third/golang.org/x/sys/unix" +import "github.com/gogf/gf/third/golang.org/x/sys/unix" // note: this constant is not defined on BSD const openMode = unix.O_EVTONLY diff --git a/third/github.com/ghodss/yaml/README.md b/third/github.com/ghodss/yaml/README.md index ca5e5d7d5..942ca0c48 100644 --- a/third/github.com/ghodss/yaml/README.md +++ b/third/github.com/ghodss/yaml/README.md @@ -38,7 +38,7 @@ $ go get github.com/ghodss/yaml And import using: ``` -import "gitee.com/johng/gf/third/github.com/ghodss/yaml" +import "github.com/gogf/gf/third/github.com/ghodss/yaml" ``` Usage is very similar to the JSON library: @@ -49,7 +49,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/third/github.com/ghodss/yaml" + "github.com/gogf/gf/third/github.com/ghodss/yaml" ) type Person struct { @@ -93,7 +93,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/third/github.com/ghodss/yaml" + "github.com/gogf/gf/third/github.com/ghodss/yaml" ) func main() { diff --git a/third/github.com/ghodss/yaml/yaml.go b/third/github.com/ghodss/yaml/yaml.go index 68f7ceb3b..485b6c5ff 100644 --- a/third/github.com/ghodss/yaml/yaml.go +++ b/third/github.com/ghodss/yaml/yaml.go @@ -7,7 +7,7 @@ import ( "reflect" "strconv" - "gitee.com/johng/gf/third/gopkg.in/yaml.v2" + "github.com/gogf/gf/third/gopkg.in/yaml.v2" ) // Marshals the object into JSON then converts JSON to YAML and returns the diff --git a/third/github.com/go-sql-driver/mysql/README.md b/third/github.com/go-sql-driver/mysql/README.md index ac13272d7..129c8b3c7 100644 --- a/third/github.com/go-sql-driver/mysql/README.md +++ b/third/github.com/go-sql-driver/mysql/README.md @@ -58,7 +58,7 @@ _Go MySQL Driver_ is an implementation of Go's `database/sql/driver` interface. Use `mysql` as `driverName` and a valid [DSN](#dsn-data-source-name) as `dataSourceName`: ```go import "database/sql" -import _ "gitee.com/johng/gf/third/github.com/go-sql-driver/mysql" +import _ "github.com/gogf/gf/third/github.com/go-sql-driver/mysql" db, err := sql.Open("mysql", "user:password@/dbname") ``` @@ -431,7 +431,7 @@ See [context support in the database/sql package](https://golang.org/doc/go1.8#d ### `LOAD DATA LOCAL INFILE` support For this feature you need direct access to the package. Therefore you must change the import path (no `_`): ```go -import "gitee.com/johng/gf/third/github.com/go-sql-driver/mysql" +import "github.com/gogf/gf/third/github.com/go-sql-driver/mysql" ``` Files must be whitelisted by registering them with `mysql.RegisterLocalFile(filepath)` (recommended) or the Whitelist check must be deactivated by using the DSN parameter `allowAllFiles=true` ([*Might be insecure!*](http://dev.mysql.com/doc/refman/5.7/en/load-data-local.html)). diff --git a/third/github.com/go-sql-driver/mysql/driver.go b/third/github.com/go-sql-driver/mysql/driver.go index 252e466c4..6fc777639 100644 --- a/third/github.com/go-sql-driver/mysql/driver.go +++ b/third/github.com/go-sql-driver/mysql/driver.go @@ -9,7 +9,7 @@ // The driver should be used via the database/sql package: // // import "database/sql" -// import _ "gitee.com/johng/gf/third/github.com/go-sql-driver/mysql" +// import _ "github.com/gogf/gf/third/github.com/go-sql-driver/mysql" // // db, err := sql.Open("mysql", "user:password@/dbname") // diff --git a/third/github.com/golang/snappy/cmd/snappytool/main.go b/third/github.com/golang/snappy/cmd/snappytool/main.go index 9bc0bd259..bfae325ea 100644 --- a/third/github.com/golang/snappy/cmd/snappytool/main.go +++ b/third/github.com/golang/snappy/cmd/snappytool/main.go @@ -6,7 +6,7 @@ import ( "io/ioutil" "os" - "gitee.com/johng/gf/third/github.com/golang/snappy" + "github.com/gogf/gf/third/github.com/golang/snappy" ) var ( diff --git a/third/github.com/golang/snappy/snappy.go b/third/github.com/golang/snappy/snappy.go index 07cb0191a..c3c29ab5a 100644 --- a/third/github.com/golang/snappy/snappy.go +++ b/third/github.com/golang/snappy/snappy.go @@ -17,7 +17,7 @@ // // The canonical, C++ implementation is at https://github.com/google/snappy and // it only implements the block format. -package snappy // import "gitee.com/johng/gf/third/github.com/golang/snappy" +package snappy // import "github.com/gogf/gf/third/github.com/golang/snappy" import ( "hash/crc32" diff --git a/third/github.com/gomodule/redigo/internal/commandinfo.go b/third/github.com/gomodule/redigo/internal/commandinfo.go index b1e1fd168..65395db2b 100644 --- a/third/github.com/gomodule/redigo/internal/commandinfo.go +++ b/third/github.com/gomodule/redigo/internal/commandinfo.go @@ -12,7 +12,7 @@ // License for the specific language governing permissions and limitations // under the License. -package internal // import "gitee.com/johng/gf/third/github.com/gomodule/redigo/internal" +package internal // import "github.com/gogf/gf/third/github.com/gomodule/redigo/internal" import ( "strings" diff --git a/third/github.com/gomodule/redigo/internal/redistest/testdb.go b/third/github.com/gomodule/redigo/internal/redistest/testdb.go index de5282d3e..f52bef89a 100644 --- a/third/github.com/gomodule/redigo/internal/redistest/testdb.go +++ b/third/github.com/gomodule/redigo/internal/redistest/testdb.go @@ -19,7 +19,7 @@ import ( "errors" "time" - "gitee.com/johng/gf/third/github.com/gomodule/redigo/redis" + "github.com/gogf/gf/third/github.com/gomodule/redigo/redis" ) type testConn struct { diff --git a/third/github.com/gomodule/redigo/redis/conn_test.go b/third/github.com/gomodule/redigo/redis/conn_test.go index 543a98027..3d301a6a4 100644 --- a/third/github.com/gomodule/redigo/redis/conn_test.go +++ b/third/github.com/gomodule/redigo/redis/conn_test.go @@ -28,7 +28,7 @@ import ( "testing" "time" - "gitee.com/johng/gf/third/github.com/gomodule/redigo/redis" + "github.com/gogf/gf/third/github.com/gomodule/redigo/redis" ) type testConn struct { diff --git a/third/github.com/gomodule/redigo/redis/doc.go b/third/github.com/gomodule/redigo/redis/doc.go index 7a6e30bd3..1c4397855 100644 --- a/third/github.com/gomodule/redigo/redis/doc.go +++ b/third/github.com/gomodule/redigo/redis/doc.go @@ -174,4 +174,4 @@ // non-recoverable error such as a network error or protocol parsing error. If // Err() returns a non-nil value, then the connection is not usable and should // be closed. -package redis // import "gitee.com/johng/gf/third/github.com/gomodule/redigo/redis" +package redis // import "github.com/gogf/gf/third/github.com/gomodule/redigo/redis" diff --git a/third/github.com/gomodule/redigo/redis/pool.go b/third/github.com/gomodule/redigo/redis/pool.go index 88d93756d..6b77adfca 100644 --- a/third/github.com/gomodule/redigo/redis/pool.go +++ b/third/github.com/gomodule/redigo/redis/pool.go @@ -25,7 +25,7 @@ import ( "sync/atomic" "time" - "gitee.com/johng/gf/third/github.com/gomodule/redigo/internal" + "github.com/gogf/gf/third/github.com/gomodule/redigo/internal" ) var ( diff --git a/third/github.com/gomodule/redigo/redis/pool17_test.go b/third/github.com/gomodule/redigo/redis/pool17_test.go index ea59c05e1..21fa307f8 100644 --- a/third/github.com/gomodule/redigo/redis/pool17_test.go +++ b/third/github.com/gomodule/redigo/redis/pool17_test.go @@ -20,7 +20,7 @@ import ( "context" "testing" - "gitee.com/johng/gf/third/github.com/gomodule/redigo/redis" + "github.com/gogf/gf/third/github.com/gomodule/redigo/redis" ) func TestWaitPoolGetContext(t *testing.T) { diff --git a/third/github.com/gomodule/redigo/redis/pool_test.go b/third/github.com/gomodule/redigo/redis/pool_test.go index 49fe79015..b05aafe20 100644 --- a/third/github.com/gomodule/redigo/redis/pool_test.go +++ b/third/github.com/gomodule/redigo/redis/pool_test.go @@ -22,7 +22,7 @@ import ( "testing" "time" - "gitee.com/johng/gf/third/github.com/gomodule/redigo/redis" + "github.com/gogf/gf/third/github.com/gomodule/redigo/redis" ) type poolTestConn struct { diff --git a/third/github.com/gomodule/redigo/redis/pubsub_example_test.go b/third/github.com/gomodule/redigo/redis/pubsub_example_test.go index 170ae4be1..ee7d557bd 100644 --- a/third/github.com/gomodule/redigo/redis/pubsub_example_test.go +++ b/third/github.com/gomodule/redigo/redis/pubsub_example_test.go @@ -21,7 +21,7 @@ import ( "fmt" "time" - "gitee.com/johng/gf/third/github.com/gomodule/redigo/redis" + "github.com/gogf/gf/third/github.com/gomodule/redigo/redis" ) // listenPubSubChannels listens for messages on Redis pubsub channels. The diff --git a/third/github.com/gomodule/redigo/redis/pubsub_test.go b/third/github.com/gomodule/redigo/redis/pubsub_test.go index dde522396..870d957ce 100644 --- a/third/github.com/gomodule/redigo/redis/pubsub_test.go +++ b/third/github.com/gomodule/redigo/redis/pubsub_test.go @@ -19,7 +19,7 @@ import ( "testing" "time" - "gitee.com/johng/gf/third/github.com/gomodule/redigo/redis" + "github.com/gogf/gf/third/github.com/gomodule/redigo/redis" ) func expectPushed(t *testing.T, c redis.PubSubConn, message string, expected interface{}) { diff --git a/third/github.com/gomodule/redigo/redis/redis_test.go b/third/github.com/gomodule/redigo/redis/redis_test.go index f3fc243c4..7bf3b6084 100644 --- a/third/github.com/gomodule/redigo/redis/redis_test.go +++ b/third/github.com/gomodule/redigo/redis/redis_test.go @@ -18,7 +18,7 @@ import ( "testing" "time" - "gitee.com/johng/gf/third/github.com/gomodule/redigo/redis" + "github.com/gogf/gf/third/github.com/gomodule/redigo/redis" ) type timeoutTestConn int diff --git a/third/github.com/gomodule/redigo/redis/reply_test.go b/third/github.com/gomodule/redigo/redis/reply_test.go index 785e78dd4..6ceb22a89 100644 --- a/third/github.com/gomodule/redigo/redis/reply_test.go +++ b/third/github.com/gomodule/redigo/redis/reply_test.go @@ -19,7 +19,7 @@ import ( "reflect" "testing" - "gitee.com/johng/gf/third/github.com/gomodule/redigo/redis" + "github.com/gogf/gf/third/github.com/gomodule/redigo/redis" ) type valueError struct { diff --git a/third/github.com/gomodule/redigo/redis/scan_test.go b/third/github.com/gomodule/redigo/redis/scan_test.go index 4569ae15f..6adadcfd9 100644 --- a/third/github.com/gomodule/redigo/redis/scan_test.go +++ b/third/github.com/gomodule/redigo/redis/scan_test.go @@ -21,7 +21,7 @@ import ( "testing" "time" - "gitee.com/johng/gf/third/github.com/gomodule/redigo/redis" + "github.com/gogf/gf/third/github.com/gomodule/redigo/redis" ) type durationScan struct { diff --git a/third/github.com/gomodule/redigo/redis/script_test.go b/third/github.com/gomodule/redigo/redis/script_test.go index 2a79ece43..4a06427ea 100644 --- a/third/github.com/gomodule/redigo/redis/script_test.go +++ b/third/github.com/gomodule/redigo/redis/script_test.go @@ -20,7 +20,7 @@ import ( "testing" "time" - "gitee.com/johng/gf/third/github.com/gomodule/redigo/redis" + "github.com/gogf/gf/third/github.com/gomodule/redigo/redis" ) var ( diff --git a/third/github.com/gomodule/redigo/redis/zpop_example_test.go b/third/github.com/gomodule/redigo/redis/zpop_example_test.go index 1996d0d3a..1f6024c2b 100644 --- a/third/github.com/gomodule/redigo/redis/zpop_example_test.go +++ b/third/github.com/gomodule/redigo/redis/zpop_example_test.go @@ -17,7 +17,7 @@ package redis_test import ( "fmt" - "gitee.com/johng/gf/third/github.com/gomodule/redigo/redis" + "github.com/gogf/gf/third/github.com/gomodule/redigo/redis" ) // zpop pops a value from the ZSET key using WATCH/MULTI/EXEC commands. diff --git a/third/github.com/gomodule/redigo/redisx/connmux.go b/third/github.com/gomodule/redigo/redisx/connmux.go index f05d1cb0e..fb5297feb 100644 --- a/third/github.com/gomodule/redigo/redisx/connmux.go +++ b/third/github.com/gomodule/redigo/redisx/connmux.go @@ -18,8 +18,8 @@ import ( "errors" "sync" - "gitee.com/johng/gf/third/github.com/gomodule/redigo/internal" - "gitee.com/johng/gf/third/github.com/gomodule/redigo/redis" + "github.com/gogf/gf/third/github.com/gomodule/redigo/internal" + "github.com/gogf/gf/third/github.com/gomodule/redigo/redis" ) // ConnMux multiplexes one or more connections to a single underlying diff --git a/third/github.com/gomodule/redigo/redisx/connmux_test.go b/third/github.com/gomodule/redigo/redisx/connmux_test.go index 0b30ad986..81765b198 100644 --- a/third/github.com/gomodule/redigo/redisx/connmux_test.go +++ b/third/github.com/gomodule/redigo/redisx/connmux_test.go @@ -19,9 +19,9 @@ import ( "sync" "testing" - "gitee.com/johng/gf/third/github.com/gomodule/redigo/internal/redistest" - "gitee.com/johng/gf/third/github.com/gomodule/redigo/redis" - "gitee.com/johng/gf/third/github.com/gomodule/redigo/redisx" + "github.com/gogf/gf/third/github.com/gomodule/redigo/internal/redistest" + "github.com/gogf/gf/third/github.com/gomodule/redigo/redis" + "github.com/gogf/gf/third/github.com/gomodule/redigo/redisx" ) func TestConnMux(t *testing.T) { diff --git a/third/github.com/gomodule/redigo/redisx/doc.go b/third/github.com/gomodule/redigo/redisx/doc.go index c5f1495d4..6ba30474b 100644 --- a/third/github.com/gomodule/redigo/redisx/doc.go +++ b/third/github.com/gomodule/redigo/redisx/doc.go @@ -14,4 +14,4 @@ // Package redisx contains experimental features for Redigo. Features in this // package may be modified or deleted at any time. -package redisx // import "gitee.com/johng/gf/third/github.com/gomodule/redigo/redisx" +package redisx // import "github.com/gogf/gf/third/github.com/gomodule/redigo/redisx" diff --git a/third/github.com/gorilla/websocket/example_test.go b/third/github.com/gorilla/websocket/example_test.go index ddaef4e28..8ddb61919 100644 --- a/third/github.com/gorilla/websocket/example_test.go +++ b/third/github.com/gorilla/websocket/example_test.go @@ -9,7 +9,7 @@ import ( "net/http" "testing" - "gitee.com/johng/gf/third/github.com/gorilla/websocket" + "github.com/gogf/gf/third/github.com/gorilla/websocket" ) var ( diff --git a/third/github.com/grokify/html-strip-tags-go/README.md b/third/github.com/grokify/html-strip-tags-go/README.md index 5527df006..6398e99bc 100644 --- a/third/github.com/grokify/html-strip-tags-go/README.md +++ b/third/github.com/grokify/html-strip-tags-go/README.md @@ -27,7 +27,7 @@ $ go get github.com/grokify/html-strip-tags-go ```go import( - "gitee.com/johng/gf/third/github.com/grokify/html-strip-tags-go" // => strip + "github.com/gogf/gf/third/github.com/grokify/html-strip-tags-go" // => strip ) func main() { diff --git a/third/github.com/johng-cn/sarama-cluster/README.md b/third/github.com/johng-cn/sarama-cluster/README.md index 180a5db5b..327371000 100644 --- a/third/github.com/johng-cn/sarama-cluster/README.md +++ b/third/github.com/johng-cn/sarama-cluster/README.md @@ -25,7 +25,7 @@ import ( "os" "os/signal" - cluster "gitee.com/johng/gf/third/github.com/bsm/sarama-cluster" + cluster "github.com/gogf/gf/third/github.com/bsm/sarama-cluster" ) func main() { @@ -89,7 +89,7 @@ import ( "os" "os/signal" - cluster "gitee.com/johng/gf/third/github.com/bsm/sarama-cluster" + cluster "github.com/gogf/gf/third/github.com/bsm/sarama-cluster" ) func main() { diff --git a/third/github.com/johng-cn/sarama-cluster/README.md.tpl b/third/github.com/johng-cn/sarama-cluster/README.md.tpl index 18f65ff78..16b71ee57 100644 --- a/third/github.com/johng-cn/sarama-cluster/README.md.tpl +++ b/third/github.com/johng-cn/sarama-cluster/README.md.tpl @@ -25,7 +25,7 @@ import ( "os" "os/signal" - cluster "gitee.com/johng/gf/third/github.com/bsm/sarama-cluster" + cluster "github.com/gogf/gf/third/github.com/bsm/sarama-cluster" ) func main() {{ "ExampleConsumer" | code }} @@ -43,7 +43,7 @@ import ( "os" "os/signal" - cluster "gitee.com/johng/gf/third/github.com/bsm/sarama-cluster" + cluster "github.com/gogf/gf/third/github.com/bsm/sarama-cluster" ) func main() {{ "ExampleConsumer_Partitions" | code }} diff --git a/third/github.com/johng-cn/sarama-cluster/balancer.go b/third/github.com/johng-cn/sarama-cluster/balancer.go index dd710cd57..66d252f06 100644 --- a/third/github.com/johng-cn/sarama-cluster/balancer.go +++ b/third/github.com/johng-cn/sarama-cluster/balancer.go @@ -4,7 +4,7 @@ import ( "math" "sort" - "gitee.com/johng/gf/third/github.com/Shopify/sarama" + "github.com/gogf/gf/third/github.com/Shopify/sarama" ) // NotificationType defines the type of notification diff --git a/third/github.com/johng-cn/sarama-cluster/client.go b/third/github.com/johng-cn/sarama-cluster/client.go index b7228ed7d..b5350003b 100644 --- a/third/github.com/johng-cn/sarama-cluster/client.go +++ b/third/github.com/johng-cn/sarama-cluster/client.go @@ -4,7 +4,7 @@ import ( "errors" "sync/atomic" - "gitee.com/johng/gf/third/github.com/Shopify/sarama" + "github.com/gogf/gf/third/github.com/Shopify/sarama" ) var errClientInUse = errors.New("cluster: client is already used by another consumer") diff --git a/third/github.com/johng-cn/sarama-cluster/cmd/sarama-cluster-cli/main.go b/third/github.com/johng-cn/sarama-cluster/cmd/sarama-cluster-cli/main.go index 09a92a9a4..b6a0165b3 100644 --- a/third/github.com/johng-cn/sarama-cluster/cmd/sarama-cluster-cli/main.go +++ b/third/github.com/johng-cn/sarama-cluster/cmd/sarama-cluster-cli/main.go @@ -9,8 +9,8 @@ import ( "strings" "syscall" - "gitee.com/johng/gf/third/github.com/Shopify/sarama" - "gitee.com/johng/gf/third/github.com/bsm/sarama-cluster" + "github.com/gogf/gf/third/github.com/Shopify/sarama" + "github.com/gogf/gf/third/github.com/bsm/sarama-cluster" ) var ( diff --git a/third/github.com/johng-cn/sarama-cluster/config.go b/third/github.com/johng-cn/sarama-cluster/config.go index 8ad45ddbb..340d60121 100644 --- a/third/github.com/johng-cn/sarama-cluster/config.go +++ b/third/github.com/johng-cn/sarama-cluster/config.go @@ -4,7 +4,7 @@ import ( "regexp" "time" - "gitee.com/johng/gf/third/github.com/Shopify/sarama" + "github.com/gogf/gf/third/github.com/Shopify/sarama" ) var minVersion = sarama.V0_9_0_0 diff --git a/third/github.com/johng-cn/sarama-cluster/consumer.go b/third/github.com/johng-cn/sarama-cluster/consumer.go index 0cd83f817..2350d44e2 100644 --- a/third/github.com/johng-cn/sarama-cluster/consumer.go +++ b/third/github.com/johng-cn/sarama-cluster/consumer.go @@ -6,7 +6,7 @@ import ( "sync/atomic" "time" - "gitee.com/johng/gf/third/github.com/Shopify/sarama" + "github.com/gogf/gf/third/github.com/Shopify/sarama" ) // Consumer is a cluster group consumer diff --git a/third/github.com/johng-cn/sarama-cluster/offsets.go b/third/github.com/johng-cn/sarama-cluster/offsets.go index 789de7c9f..cfe013937 100644 --- a/third/github.com/johng-cn/sarama-cluster/offsets.go +++ b/third/github.com/johng-cn/sarama-cluster/offsets.go @@ -3,7 +3,7 @@ package cluster import ( "sync" - "gitee.com/johng/gf/third/github.com/Shopify/sarama" + "github.com/gogf/gf/third/github.com/Shopify/sarama" ) // OffsetStash allows to accumulate offsets and diff --git a/third/github.com/johng-cn/sarama-cluster/partitions.go b/third/github.com/johng-cn/sarama-cluster/partitions.go index 6c9cd6f58..40239d4ed 100644 --- a/third/github.com/johng-cn/sarama-cluster/partitions.go +++ b/third/github.com/johng-cn/sarama-cluster/partitions.go @@ -5,7 +5,7 @@ import ( "sync" "time" - "gitee.com/johng/gf/third/github.com/Shopify/sarama" + "github.com/gogf/gf/third/github.com/Shopify/sarama" ) // PartitionConsumer allows code to consume individual partitions from the cluster. diff --git a/third/github.com/olekukonko/tablewriter/csv2table/csv2table.go b/third/github.com/olekukonko/tablewriter/csv2table/csv2table.go index 1d8ac57d6..bb5b8a31c 100644 --- a/third/github.com/olekukonko/tablewriter/csv2table/csv2table.go +++ b/third/github.com/olekukonko/tablewriter/csv2table/csv2table.go @@ -8,7 +8,7 @@ import ( "os" "unicode/utf8" - "gitee.com/johng/gf/third/github.com/olekukonko/tablewriter" + "github.com/gogf/gf/third/github.com/olekukonko/tablewriter" ) var ( diff --git a/third/github.com/olekukonko/tablewriter/util.go b/third/github.com/olekukonko/tablewriter/util.go index d1b005f9c..cbb2e50a5 100644 --- a/third/github.com/olekukonko/tablewriter/util.go +++ b/third/github.com/olekukonko/tablewriter/util.go @@ -12,7 +12,7 @@ import ( "regexp" "strings" - "gitee.com/johng/gf/third/github.com/mattn/go-runewidth" + "github.com/gogf/gf/third/github.com/mattn/go-runewidth" ) var ansi = regexp.MustCompile("\033\\[(?:[0-9]{1,3}(?:;[0-9]{1,3})*)?[m|K]") diff --git a/third/github.com/olekukonko/tablewriter/wrap.go b/third/github.com/olekukonko/tablewriter/wrap.go index 7174ebd9b..bda4d5ce9 100644 --- a/third/github.com/olekukonko/tablewriter/wrap.go +++ b/third/github.com/olekukonko/tablewriter/wrap.go @@ -11,7 +11,7 @@ import ( "math" "strings" - "gitee.com/johng/gf/third/github.com/mattn/go-runewidth" + "github.com/gogf/gf/third/github.com/mattn/go-runewidth" ) var ( diff --git a/third/github.com/olekukonko/tablewriter/wrap_test.go b/third/github.com/olekukonko/tablewriter/wrap_test.go index 547e518b6..cfa866043 100644 --- a/third/github.com/olekukonko/tablewriter/wrap_test.go +++ b/third/github.com/olekukonko/tablewriter/wrap_test.go @@ -11,7 +11,7 @@ import ( "strings" "testing" - "gitee.com/johng/gf/third/github.com/mattn/go-runewidth" + "github.com/gogf/gf/third/github.com/mattn/go-runewidth" ) var text = "The quick brown fox jumps over the lazy dog." diff --git a/third/github.com/pierrec/lz4/README.md b/third/github.com/pierrec/lz4/README.md index 3eb543259..5d84198a0 100644 --- a/third/github.com/pierrec/lz4/README.md +++ b/third/github.com/pierrec/lz4/README.md @@ -6,7 +6,7 @@ LZ4 compression and decompression in pure Go. ## Usage ```go -import "gitee.com/johng/gf/third/github.com/pierrec/lz4" +import "github.com/gogf/gf/third/github.com/pierrec/lz4" ``` ## Description diff --git a/third/github.com/pierrec/lz4/bench_test.go b/third/github.com/pierrec/lz4/bench_test.go index f3fae643c..35dc78978 100644 --- a/third/github.com/pierrec/lz4/bench_test.go +++ b/third/github.com/pierrec/lz4/bench_test.go @@ -6,7 +6,7 @@ import ( "io/ioutil" "testing" - "gitee.com/johng/gf/third/github.com/pierrec/lz4" + "github.com/gogf/gf/third/github.com/pierrec/lz4" ) func BenchmarkCompress(b *testing.B) { diff --git a/third/github.com/pierrec/lz4/block_test.go b/third/github.com/pierrec/lz4/block_test.go index b21bf256c..4185e1698 100644 --- a/third/github.com/pierrec/lz4/block_test.go +++ b/third/github.com/pierrec/lz4/block_test.go @@ -8,7 +8,7 @@ import ( "reflect" "testing" - "gitee.com/johng/gf/third/github.com/pierrec/lz4" + "github.com/gogf/gf/third/github.com/pierrec/lz4" ) type testcase struct { diff --git a/third/github.com/pierrec/lz4/fuzz/lz4.go b/third/github.com/pierrec/lz4/fuzz/lz4.go index ef7a75502..e57247e77 100755 --- a/third/github.com/pierrec/lz4/fuzz/lz4.go +++ b/third/github.com/pierrec/lz4/fuzz/lz4.go @@ -4,7 +4,7 @@ import ( "bytes" "io/ioutil" - "gitee.com/johng/gf/third/github.com/pierrec/lz4" + "github.com/gogf/gf/third/github.com/pierrec/lz4" ) // lz4.Reader fuzz function diff --git a/third/github.com/pierrec/lz4/internal/xxh32/xxh32_test.go b/third/github.com/pierrec/lz4/internal/xxh32/xxh32_test.go index 8522ddb93..0fe004f68 100644 --- a/third/github.com/pierrec/lz4/internal/xxh32/xxh32_test.go +++ b/third/github.com/pierrec/lz4/internal/xxh32/xxh32_test.go @@ -6,7 +6,7 @@ import ( "hash/fnv" "testing" - "gitee.com/johng/gf/third/github.com/pierrec/xxHash/xxHash32" + "github.com/gogf/gf/third/github.com/pierrec/xxHash/xxHash32" ) type test struct { diff --git a/third/github.com/pierrec/lz4/lz4c/main.go b/third/github.com/pierrec/lz4/lz4c/main.go index 10b5e5ab8..849e056df 100644 --- a/third/github.com/pierrec/lz4/lz4c/main.go +++ b/third/github.com/pierrec/lz4/lz4c/main.go @@ -13,8 +13,8 @@ import ( "runtime" "strings" - "gitee.com/johng/gf/third/github.com/pierrec/lz4" - "gitee.com/johng/gf/third/github.com/pkg/profile" + "github.com/gogf/gf/third/github.com/pierrec/lz4" + "github.com/gogf/gf/third/github.com/pkg/profile" ) func main() { diff --git a/third/github.com/pierrec/lz4/reader.go b/third/github.com/pierrec/lz4/reader.go index acbd3b206..162c7e639 100644 --- a/third/github.com/pierrec/lz4/reader.go +++ b/third/github.com/pierrec/lz4/reader.go @@ -6,7 +6,7 @@ import ( "io" "io/ioutil" - "gitee.com/johng/gf/third/github.com/pierrec/lz4/internal/xxh32" + "github.com/gogf/gf/third/github.com/pierrec/lz4/internal/xxh32" ) // Reader implements the LZ4 frame decoder. diff --git a/third/github.com/pierrec/lz4/reader_test.go b/third/github.com/pierrec/lz4/reader_test.go index 76597833b..ba7d2c9f8 100644 --- a/third/github.com/pierrec/lz4/reader_test.go +++ b/third/github.com/pierrec/lz4/reader_test.go @@ -9,7 +9,7 @@ import ( "strings" "testing" - "gitee.com/johng/gf/third/github.com/pierrec/lz4" + "github.com/gogf/gf/third/github.com/pierrec/lz4" ) func TestReader(t *testing.T) { diff --git a/third/github.com/pierrec/lz4/writer.go b/third/github.com/pierrec/lz4/writer.go index 360ddf442..cd46a9d12 100644 --- a/third/github.com/pierrec/lz4/writer.go +++ b/third/github.com/pierrec/lz4/writer.go @@ -5,7 +5,7 @@ import ( "fmt" "io" - "gitee.com/johng/gf/third/github.com/pierrec/lz4/internal/xxh32" + "github.com/gogf/gf/third/github.com/pierrec/lz4/internal/xxh32" ) // Writer implements the LZ4 frame encoder. diff --git a/third/github.com/pierrec/lz4/writer_test.go b/third/github.com/pierrec/lz4/writer_test.go index ffcde27e0..d10a185fb 100644 --- a/third/github.com/pierrec/lz4/writer_test.go +++ b/third/github.com/pierrec/lz4/writer_test.go @@ -8,7 +8,7 @@ import ( "reflect" "testing" - "gitee.com/johng/gf/third/github.com/pierrec/lz4" + "github.com/gogf/gf/third/github.com/pierrec/lz4" ) func TestWriter(t *testing.T) { diff --git a/third/github.com/rcrowley/go-metrics/README.md b/third/github.com/rcrowley/go-metrics/README.md index b56899b3a..4fe145709 100644 --- a/third/github.com/rcrowley/go-metrics/README.md +++ b/third/github.com/rcrowley/go-metrics/README.md @@ -75,7 +75,7 @@ Periodically emit every metric to Graphite using the [Graphite client](https://g ```go -import "gitee.com/johng/gf/third/github.com/cyberdelia/go-metrics-graphite" +import "github.com/gogf/gf/third/github.com/cyberdelia/go-metrics-graphite" addr, _ := net.ResolveTCPAddr("tcp", "127.0.0.1:2003") go graphite.Graphite(metrics.DefaultRegistry, 10e9, "metrics", addr) @@ -89,7 +89,7 @@ issues [#121](https://github.com/rcrowley/go-metrics/issues/121) and [#124](https://github.com/rcrowley/go-metrics/issues/124) for progress and details. ```go -import "gitee.com/johng/gf/third/github.com/vrischmann/go-metrics-influxdb" +import "github.com/gogf/gf/third/github.com/vrischmann/go-metrics-influxdb" go influxdb.InfluxDB(metrics.DefaultRegistry, 10e9, @@ -106,7 +106,7 @@ Periodically upload every metric to Librato using the [Librato client](https://g has been deprecated and moved to the repository linked above. ```go -import "gitee.com/johng/gf/third/github.com/mihasya/go-metrics-librato" +import "github.com/gogf/gf/third/github.com/mihasya/go-metrics-librato" go librato.Librato(metrics.DefaultRegistry, 10e9, // interval @@ -121,7 +121,7 @@ go librato.Librato(metrics.DefaultRegistry, Periodically emit every metric to StatHat: ```go -import "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics/stathat" +import "github.com/gogf/gf/third/github.com/rcrowley/go-metrics/stathat" go stathat.Stathat(metrics.DefaultRegistry, 10e9, "example@example.com") ``` @@ -134,7 +134,7 @@ as well as all your go-metrics. ```go -import "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics/exp" +import "github.com/gogf/gf/third/github.com/rcrowley/go-metrics/exp" exp.Exp(metrics.DefaultRegistry) ``` diff --git a/third/github.com/rcrowley/go-metrics/cmd/metrics-bench/metrics-bench.go b/third/github.com/rcrowley/go-metrics/cmd/metrics-bench/metrics-bench.go index aea4b765b..ae5a1c6d2 100644 --- a/third/github.com/rcrowley/go-metrics/cmd/metrics-bench/metrics-bench.go +++ b/third/github.com/rcrowley/go-metrics/cmd/metrics-bench/metrics-bench.go @@ -2,7 +2,7 @@ package main import ( "fmt" - "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics" + "github.com/gogf/gf/third/github.com/rcrowley/go-metrics" "time" ) diff --git a/third/github.com/rcrowley/go-metrics/cmd/metrics-example/metrics-example.go b/third/github.com/rcrowley/go-metrics/cmd/metrics-example/metrics-example.go index a8485c6ce..6e2d29ce4 100644 --- a/third/github.com/rcrowley/go-metrics/cmd/metrics-example/metrics-example.go +++ b/third/github.com/rcrowley/go-metrics/cmd/metrics-example/metrics-example.go @@ -2,8 +2,8 @@ package main import ( "errors" - "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics" - // "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics/stathat" + "github.com/gogf/gf/third/github.com/rcrowley/go-metrics" + // "github.com/gogf/gf/third/github.com/rcrowley/go-metrics/stathat" "log" "math/rand" "os" diff --git a/third/github.com/rcrowley/go-metrics/exp/exp.go b/third/github.com/rcrowley/go-metrics/exp/exp.go index a623ef76a..389bda8ad 100644 --- a/third/github.com/rcrowley/go-metrics/exp/exp.go +++ b/third/github.com/rcrowley/go-metrics/exp/exp.go @@ -8,7 +8,7 @@ import ( "net/http" "sync" - "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics" + "github.com/gogf/gf/third/github.com/rcrowley/go-metrics" ) type exp struct { diff --git a/third/github.com/rcrowley/go-metrics/librato/librato.go b/third/github.com/rcrowley/go-metrics/librato/librato.go index 8005b82c1..0e76a3147 100644 --- a/third/github.com/rcrowley/go-metrics/librato/librato.go +++ b/third/github.com/rcrowley/go-metrics/librato/librato.go @@ -7,7 +7,7 @@ import ( "regexp" "time" - "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics" + "github.com/gogf/gf/third/github.com/rcrowley/go-metrics" ) // a regexp for extracting the unit from time.Duration.String diff --git a/third/github.com/rcrowley/go-metrics/stathat/stathat.go b/third/github.com/rcrowley/go-metrics/stathat/stathat.go index fdfb0b2ee..bdd9918f0 100644 --- a/third/github.com/rcrowley/go-metrics/stathat/stathat.go +++ b/third/github.com/rcrowley/go-metrics/stathat/stathat.go @@ -2,8 +2,8 @@ package stathat import ( - "gitee.com/johng/gf/third/github.com/rcrowley/go-metrics" - "gitee.com/johng/gf/third/github.com/stathat/go" + "github.com/gogf/gf/third/github.com/rcrowley/go-metrics" + "github.com/gogf/gf/third/github.com/stathat/go" "log" "time" ) diff --git a/third/github.com/theckman/go-flock/README.md b/third/github.com/theckman/go-flock/README.md index 08a72f504..da9526d78 100644 --- a/third/github.com/theckman/go-flock/README.md +++ b/third/github.com/theckman/go-flock/README.md @@ -20,7 +20,7 @@ go get -u github.com/theckman/go-flock ## Usage ```Go -import "gitee.com/johng/gf/third/github.com/theckman/go-flock" +import "github.com/gogf/gf/third/github.com/theckman/go-flock" fileLock := flock.NewFlock("/var/lock/go-lock.lock") diff --git a/third/golang.org/x/sys/cpu/cpu_test.go b/third/golang.org/x/sys/cpu/cpu_test.go index 09824f195..15f48f620 100644 --- a/third/golang.org/x/sys/cpu/cpu_test.go +++ b/third/golang.org/x/sys/cpu/cpu_test.go @@ -8,7 +8,7 @@ import ( "runtime" "testing" - "gitee.com/johng/gf/third/golang.org/x/sys/cpu" + "github.com/gogf/gf/third/golang.org/x/sys/cpu" ) func TestAMD64minimalFeatures(t *testing.T) { diff --git a/third/golang.org/x/sys/plan9/syscall.go b/third/golang.org/x/sys/plan9/syscall.go index 2a327a2e0..85954e195 100644 --- a/third/golang.org/x/sys/plan9/syscall.go +++ b/third/golang.org/x/sys/plan9/syscall.go @@ -22,7 +22,7 @@ // These calls return err == nil to indicate success; otherwise // err represents an operating system error describing the failure and // holds a value of type syscall.ErrorString. -package plan9 // import "gitee.com/johng/gf/third/golang.org/x/sys/plan9" +package plan9 // import "github.com/gogf/gf/third/golang.org/x/sys/plan9" import "unsafe" diff --git a/third/golang.org/x/sys/plan9/syscall_test.go b/third/golang.org/x/sys/plan9/syscall_test.go index 7d5b8361b..b57b90df0 100644 --- a/third/golang.org/x/sys/plan9/syscall_test.go +++ b/third/golang.org/x/sys/plan9/syscall_test.go @@ -9,7 +9,7 @@ package plan9_test import ( "testing" - "gitee.com/johng/gf/third/golang.org/x/sys/plan9" + "github.com/gogf/gf/third/golang.org/x/sys/plan9" ) func testSetGetenv(t *testing.T, key, value string) { diff --git a/third/golang.org/x/sys/unix/creds_test.go b/third/golang.org/x/sys/unix/creds_test.go index 916e7a481..4e2fdb32a 100644 --- a/third/golang.org/x/sys/unix/creds_test.go +++ b/third/golang.org/x/sys/unix/creds_test.go @@ -13,7 +13,7 @@ import ( "os" "testing" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) // TestSCMCredentials tests the sending and receiving of credentials diff --git a/third/golang.org/x/sys/unix/dev_linux_test.go b/third/golang.org/x/sys/unix/dev_linux_test.go index 961c4d1f9..095c4f350 100644 --- a/third/golang.org/x/sys/unix/dev_linux_test.go +++ b/third/golang.org/x/sys/unix/dev_linux_test.go @@ -10,7 +10,7 @@ import ( "fmt" "testing" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) func TestDevices(t *testing.T) { diff --git a/third/golang.org/x/sys/unix/example_exec_test.go b/third/golang.org/x/sys/unix/example_exec_test.go index 47cc2334f..eb6a8dfdf 100644 --- a/third/golang.org/x/sys/unix/example_exec_test.go +++ b/third/golang.org/x/sys/unix/example_exec_test.go @@ -10,7 +10,7 @@ import ( "log" "os" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) func ExampleExec() { diff --git a/third/golang.org/x/sys/unix/example_flock_test.go b/third/golang.org/x/sys/unix/example_flock_test.go index 5ec302cbf..7f48aedb7 100644 --- a/third/golang.org/x/sys/unix/example_flock_test.go +++ b/third/golang.org/x/sys/unix/example_flock_test.go @@ -10,7 +10,7 @@ import ( "log" "os" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) func ExampleFlock() { diff --git a/third/golang.org/x/sys/unix/mksyscall_aix_ppc.go b/third/golang.org/x/sys/unix/mksyscall_aix_ppc.go index 674e93ad3..e1a5525aa 100644 --- a/third/golang.org/x/sys/unix/mksyscall_aix_ppc.go +++ b/third/golang.org/x/sys/unix/mksyscall_aix_ppc.go @@ -376,7 +376,7 @@ func main() { } imp := "" if pack != "unix" { - imp = "import \"gitee.com/johng/gf/third/golang.org/x/sys/unix\"\n" + imp = "import \"github.com/gogf/gf/third/golang.org/x/sys/unix\"\n" } fmt.Printf(srcTemplate, cmdLine(), buildTags(), pack, cExtern, imp, text) diff --git a/third/golang.org/x/sys/unix/mksyscall_aix_ppc64.go b/third/golang.org/x/sys/unix/mksyscall_aix_ppc64.go index b2690ba7b..e62aa5987 100755 --- a/third/golang.org/x/sys/unix/mksyscall_aix_ppc64.go +++ b/third/golang.org/x/sys/unix/mksyscall_aix_ppc64.go @@ -504,7 +504,7 @@ func main() { } imp := "" if pack != "unix" { - imp = "import \"gitee.com/johng/gf/third/golang.org/x/sys/unix\"\n" + imp = "import \"github.com/gogf/gf/third/golang.org/x/sys/unix\"\n" } diff --git a/third/golang.org/x/sys/unix/mksyscall_solaris.pl b/third/golang.org/x/sys/unix/mksyscall_solaris.pl index 8bdf71b72..c87c96995 100755 --- a/third/golang.org/x/sys/unix/mksyscall_solaris.pl +++ b/third/golang.org/x/sys/unix/mksyscall_solaris.pl @@ -275,7 +275,7 @@ import ( ) EOF -print "import \"gitee.com/johng/gf/third/golang.org/x/sys/unix\"\n" if $package ne "unix"; +print "import \"github.com/gogf/gf/third/golang.org/x/sys/unix\"\n" if $package ne "unix"; my $vardecls = "\t" . join(",\n\t", @vars); $vardecls .= " syscallFunc"; diff --git a/third/golang.org/x/sys/unix/mmap_unix_test.go b/third/golang.org/x/sys/unix/mmap_unix_test.go index 8bdb47063..44992dd96 100644 --- a/third/golang.org/x/sys/unix/mmap_unix_test.go +++ b/third/golang.org/x/sys/unix/mmap_unix_test.go @@ -10,7 +10,7 @@ import ( "runtime" "testing" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) func TestMmap(t *testing.T) { diff --git a/third/golang.org/x/sys/unix/openbsd_test.go b/third/golang.org/x/sys/unix/openbsd_test.go index 6faceca99..d730c6ca7 100644 --- a/third/golang.org/x/sys/unix/openbsd_test.go +++ b/third/golang.org/x/sys/unix/openbsd_test.go @@ -19,7 +19,7 @@ import ( "path/filepath" "testing" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) type testProc struct { diff --git a/third/golang.org/x/sys/unix/sendfile_test.go b/third/golang.org/x/sys/unix/sendfile_test.go index 378daf2aa..eacd4593d 100644 --- a/third/golang.org/x/sys/unix/sendfile_test.go +++ b/third/golang.org/x/sys/unix/sendfile_test.go @@ -13,7 +13,7 @@ import ( "path/filepath" "testing" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) func TestSendfile(t *testing.T) { diff --git a/third/golang.org/x/sys/unix/syscall.go b/third/golang.org/x/sys/unix/syscall.go index 6239b3bf7..a32c04e2c 100644 --- a/third/golang.org/x/sys/unix/syscall.go +++ b/third/golang.org/x/sys/unix/syscall.go @@ -22,7 +22,7 @@ // These calls return err == nil to indicate success; otherwise // err represents an operating system error describing the failure and // holds a value of type syscall.Errno. -package unix // import "gitee.com/johng/gf/third/golang.org/x/sys/unix" +package unix // import "github.com/gogf/gf/third/golang.org/x/sys/unix" import "strings" diff --git a/third/golang.org/x/sys/unix/syscall_aix_test.go b/third/golang.org/x/sys/unix/syscall_aix_test.go index cb5be79c6..0bff3a4cc 100644 --- a/third/golang.org/x/sys/unix/syscall_aix_test.go +++ b/third/golang.org/x/sys/unix/syscall_aix_test.go @@ -12,7 +12,7 @@ import ( "testing" "time" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) func TestIoctlGetInt(t *testing.T) { diff --git a/third/golang.org/x/sys/unix/syscall_bsd_test.go b/third/golang.org/x/sys/unix/syscall_bsd_test.go index 531c25155..f2b6726ac 100644 --- a/third/golang.org/x/sys/unix/syscall_bsd_test.go +++ b/third/golang.org/x/sys/unix/syscall_bsd_test.go @@ -12,7 +12,7 @@ import ( "testing" "time" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) func TestGetfsstat(t *testing.T) { diff --git a/third/golang.org/x/sys/unix/syscall_darwin_test.go b/third/golang.org/x/sys/unix/syscall_darwin_test.go index 29168722a..74e79d8a7 100644 --- a/third/golang.org/x/sys/unix/syscall_darwin_test.go +++ b/third/golang.org/x/sys/unix/syscall_darwin_test.go @@ -8,7 +8,7 @@ import ( "os" "testing" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) // stringsFromByteSlice converts a sequence of attributes to a []string. diff --git a/third/golang.org/x/sys/unix/syscall_freebsd_test.go b/third/golang.org/x/sys/unix/syscall_freebsd_test.go index 9375634c8..df6cf928c 100644 --- a/third/golang.org/x/sys/unix/syscall_freebsd_test.go +++ b/third/golang.org/x/sys/unix/syscall_freebsd_test.go @@ -17,7 +17,7 @@ import ( "runtime" "testing" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) func TestSysctlUint64(t *testing.T) { diff --git a/third/golang.org/x/sys/unix/syscall_linux_test.go b/third/golang.org/x/sys/unix/syscall_linux_test.go index cc4b3905a..b79bac731 100644 --- a/third/golang.org/x/sys/unix/syscall_linux_test.go +++ b/third/golang.org/x/sys/unix/syscall_linux_test.go @@ -14,7 +14,7 @@ import ( "testing" "time" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) func TestIoctlGetInt(t *testing.T) { diff --git a/third/golang.org/x/sys/unix/syscall_netbsd_test.go b/third/golang.org/x/sys/unix/syscall_netbsd_test.go index 26cf11468..d29df1917 100644 --- a/third/golang.org/x/sys/unix/syscall_netbsd_test.go +++ b/third/golang.org/x/sys/unix/syscall_netbsd_test.go @@ -8,7 +8,7 @@ import ( "bytes" "testing" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) // stringsFromByteSlice converts a sequence of attributes to a []string. diff --git a/third/golang.org/x/sys/unix/syscall_openbsd_test.go b/third/golang.org/x/sys/unix/syscall_openbsd_test.go index c89cede13..08d46f697 100644 --- a/third/golang.org/x/sys/unix/syscall_openbsd_test.go +++ b/third/golang.org/x/sys/unix/syscall_openbsd_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) func TestPpoll(t *testing.T) { diff --git a/third/golang.org/x/sys/unix/syscall_solaris_test.go b/third/golang.org/x/sys/unix/syscall_solaris_test.go index 9da67bf3f..22510bc3a 100644 --- a/third/golang.org/x/sys/unix/syscall_solaris_test.go +++ b/third/golang.org/x/sys/unix/syscall_solaris_test.go @@ -11,7 +11,7 @@ import ( "testing" "time" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) func TestSelect(t *testing.T) { diff --git a/third/golang.org/x/sys/unix/syscall_test.go b/third/golang.org/x/sys/unix/syscall_test.go index cb6ee6ab8..06047b094 100644 --- a/third/golang.org/x/sys/unix/syscall_test.go +++ b/third/golang.org/x/sys/unix/syscall_test.go @@ -10,7 +10,7 @@ import ( "fmt" "testing" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) func testSetGetenv(t *testing.T, key, value string) { diff --git a/third/golang.org/x/sys/unix/syscall_unix_test.go b/third/golang.org/x/sys/unix/syscall_unix_test.go index b1165d6fa..6f477ce5d 100644 --- a/third/golang.org/x/sys/unix/syscall_unix_test.go +++ b/third/golang.org/x/sys/unix/syscall_unix_test.go @@ -19,7 +19,7 @@ import ( "testing" "time" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) // Tests that below functions, structures and constants are consistent diff --git a/third/golang.org/x/sys/unix/timestruct_test.go b/third/golang.org/x/sys/unix/timestruct_test.go index 03893304c..0d2545b44 100644 --- a/third/golang.org/x/sys/unix/timestruct_test.go +++ b/third/golang.org/x/sys/unix/timestruct_test.go @@ -11,7 +11,7 @@ import ( "time" "unsafe" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) func TestTimeToTimespec(t *testing.T) { diff --git a/third/golang.org/x/sys/unix/xattr_test.go b/third/golang.org/x/sys/unix/xattr_test.go index 0cb4cdd51..bb0196ce9 100644 --- a/third/golang.org/x/sys/unix/xattr_test.go +++ b/third/golang.org/x/sys/unix/xattr_test.go @@ -13,7 +13,7 @@ import ( "strings" "testing" - "gitee.com/johng/gf/third/golang.org/x/sys/unix" + "github.com/gogf/gf/third/golang.org/x/sys/unix" ) func TestXattr(t *testing.T) { diff --git a/third/golang.org/x/sys/windows/registry/registry_test.go b/third/golang.org/x/sys/windows/registry/registry_test.go index e33ad85c5..98517f344 100644 --- a/third/golang.org/x/sys/windows/registry/registry_test.go +++ b/third/golang.org/x/sys/windows/registry/registry_test.go @@ -15,7 +15,7 @@ import ( "time" "unsafe" - "gitee.com/johng/gf/third/golang.org/x/sys/windows/registry" + "github.com/gogf/gf/third/golang.org/x/sys/windows/registry" ) func randKeyName(prefix string) string { diff --git a/third/golang.org/x/sys/windows/registry/zsyscall_windows.go b/third/golang.org/x/sys/windows/registry/zsyscall_windows.go index 5e26dbe40..9a178e25b 100644 --- a/third/golang.org/x/sys/windows/registry/zsyscall_windows.go +++ b/third/golang.org/x/sys/windows/registry/zsyscall_windows.go @@ -6,7 +6,7 @@ import ( "syscall" "unsafe" - "gitee.com/johng/gf/third/golang.org/x/sys/windows" + "github.com/gogf/gf/third/golang.org/x/sys/windows" ) var _ unsafe.Pointer diff --git a/third/golang.org/x/sys/windows/svc/debug/service.go b/third/golang.org/x/sys/windows/svc/debug/service.go index c2ac35b92..e0f5e75bc 100644 --- a/third/golang.org/x/sys/windows/svc/debug/service.go +++ b/third/golang.org/x/sys/windows/svc/debug/service.go @@ -13,7 +13,7 @@ import ( "os/signal" "syscall" - "gitee.com/johng/gf/third/golang.org/x/sys/windows/svc" + "github.com/gogf/gf/third/golang.org/x/sys/windows/svc" ) // Run executes service name by calling appropriate handler function. diff --git a/third/golang.org/x/sys/windows/svc/event.go b/third/golang.org/x/sys/windows/svc/event.go index ed16e9d30..c47d9fa43 100644 --- a/third/golang.org/x/sys/windows/svc/event.go +++ b/third/golang.org/x/sys/windows/svc/event.go @@ -9,7 +9,7 @@ package svc import ( "errors" - "gitee.com/johng/gf/third/golang.org/x/sys/windows" + "github.com/gogf/gf/third/golang.org/x/sys/windows" ) // event represents auto-reset, initially non-signaled Windows event. diff --git a/third/golang.org/x/sys/windows/svc/eventlog/install.go b/third/golang.org/x/sys/windows/svc/eventlog/install.go index 3ba625ac0..9ad5ac51e 100644 --- a/third/golang.org/x/sys/windows/svc/eventlog/install.go +++ b/third/golang.org/x/sys/windows/svc/eventlog/install.go @@ -9,8 +9,8 @@ package eventlog import ( "errors" - "gitee.com/johng/gf/third/golang.org/x/sys/windows" - "gitee.com/johng/gf/third/golang.org/x/sys/windows/registry" + "github.com/gogf/gf/third/golang.org/x/sys/windows" + "github.com/gogf/gf/third/golang.org/x/sys/windows/registry" ) const ( diff --git a/third/golang.org/x/sys/windows/svc/eventlog/log.go b/third/golang.org/x/sys/windows/svc/eventlog/log.go index ad2fb9cdf..cb4080231 100644 --- a/third/golang.org/x/sys/windows/svc/eventlog/log.go +++ b/third/golang.org/x/sys/windows/svc/eventlog/log.go @@ -12,7 +12,7 @@ import ( "errors" "syscall" - "gitee.com/johng/gf/third/golang.org/x/sys/windows" + "github.com/gogf/gf/third/golang.org/x/sys/windows" ) // Log provides access to the system log. diff --git a/third/golang.org/x/sys/windows/svc/eventlog/log_test.go b/third/golang.org/x/sys/windows/svc/eventlog/log_test.go index d0fdc98cb..4f10b360f 100644 --- a/third/golang.org/x/sys/windows/svc/eventlog/log_test.go +++ b/third/golang.org/x/sys/windows/svc/eventlog/log_test.go @@ -9,7 +9,7 @@ package eventlog_test import ( "testing" - "gitee.com/johng/gf/third/golang.org/x/sys/windows/svc/eventlog" + "github.com/gogf/gf/third/golang.org/x/sys/windows/svc/eventlog" ) func TestLog(t *testing.T) { diff --git a/third/golang.org/x/sys/windows/svc/example/install.go b/third/golang.org/x/sys/windows/svc/example/install.go index 7716a3c07..ade7ae74a 100644 --- a/third/golang.org/x/sys/windows/svc/example/install.go +++ b/third/golang.org/x/sys/windows/svc/example/install.go @@ -11,8 +11,8 @@ import ( "os" "path/filepath" - "gitee.com/johng/gf/third/golang.org/x/sys/windows/svc/eventlog" - "gitee.com/johng/gf/third/golang.org/x/sys/windows/svc/mgr" + "github.com/gogf/gf/third/golang.org/x/sys/windows/svc/eventlog" + "github.com/gogf/gf/third/golang.org/x/sys/windows/svc/mgr" ) func exePath() (string, error) { diff --git a/third/golang.org/x/sys/windows/svc/example/main.go b/third/golang.org/x/sys/windows/svc/example/main.go index c4ac4e187..bf335bd60 100644 --- a/third/golang.org/x/sys/windows/svc/example/main.go +++ b/third/golang.org/x/sys/windows/svc/example/main.go @@ -20,7 +20,7 @@ import ( "os" "strings" - "gitee.com/johng/gf/third/golang.org/x/sys/windows/svc" + "github.com/gogf/gf/third/golang.org/x/sys/windows/svc" ) func usage(errmsg string) { diff --git a/third/golang.org/x/sys/windows/svc/example/manage.go b/third/golang.org/x/sys/windows/svc/example/manage.go index 1cbfd73fa..c51a39b53 100644 --- a/third/golang.org/x/sys/windows/svc/example/manage.go +++ b/third/golang.org/x/sys/windows/svc/example/manage.go @@ -10,8 +10,8 @@ import ( "fmt" "time" - "gitee.com/johng/gf/third/golang.org/x/sys/windows/svc" - "gitee.com/johng/gf/third/golang.org/x/sys/windows/svc/mgr" + "github.com/gogf/gf/third/golang.org/x/sys/windows/svc" + "github.com/gogf/gf/third/golang.org/x/sys/windows/svc/mgr" ) func startService(name string) error { diff --git a/third/golang.org/x/sys/windows/svc/example/service.go b/third/golang.org/x/sys/windows/svc/example/service.go index 40f498aad..6b12aa825 100644 --- a/third/golang.org/x/sys/windows/svc/example/service.go +++ b/third/golang.org/x/sys/windows/svc/example/service.go @@ -11,9 +11,9 @@ import ( "strings" "time" - "gitee.com/johng/gf/third/golang.org/x/sys/windows/svc" - "gitee.com/johng/gf/third/golang.org/x/sys/windows/svc/debug" - "gitee.com/johng/gf/third/golang.org/x/sys/windows/svc/eventlog" + "github.com/gogf/gf/third/golang.org/x/sys/windows/svc" + "github.com/gogf/gf/third/golang.org/x/sys/windows/svc/debug" + "github.com/gogf/gf/third/golang.org/x/sys/windows/svc/eventlog" ) var elog debug.Log diff --git a/third/golang.org/x/sys/windows/svc/mgr/config.go b/third/golang.org/x/sys/windows/svc/mgr/config.go index 88e3912fc..b4aa835fa 100644 --- a/third/golang.org/x/sys/windows/svc/mgr/config.go +++ b/third/golang.org/x/sys/windows/svc/mgr/config.go @@ -11,7 +11,7 @@ import ( "unicode/utf16" "unsafe" - "gitee.com/johng/gf/third/golang.org/x/sys/windows" + "github.com/gogf/gf/third/golang.org/x/sys/windows" ) const ( diff --git a/third/golang.org/x/sys/windows/svc/mgr/mgr.go b/third/golang.org/x/sys/windows/svc/mgr/mgr.go index 181a14d87..0aca655d0 100644 --- a/third/golang.org/x/sys/windows/svc/mgr/mgr.go +++ b/third/golang.org/x/sys/windows/svc/mgr/mgr.go @@ -16,7 +16,7 @@ import ( "unicode/utf16" "unsafe" - "gitee.com/johng/gf/third/golang.org/x/sys/windows" + "github.com/gogf/gf/third/golang.org/x/sys/windows" ) // Mgr is used to manage Windows service. diff --git a/third/golang.org/x/sys/windows/svc/mgr/mgr_test.go b/third/golang.org/x/sys/windows/svc/mgr/mgr_test.go index be38f6346..a9e16fc06 100644 --- a/third/golang.org/x/sys/windows/svc/mgr/mgr_test.go +++ b/third/golang.org/x/sys/windows/svc/mgr/mgr_test.go @@ -15,7 +15,7 @@ import ( "testing" "time" - "gitee.com/johng/gf/third/golang.org/x/sys/windows/svc/mgr" + "github.com/gogf/gf/third/golang.org/x/sys/windows/svc/mgr" ) func TestOpenLanManServer(t *testing.T) { diff --git a/third/golang.org/x/sys/windows/svc/mgr/recovery.go b/third/golang.org/x/sys/windows/svc/mgr/recovery.go index bd0644f8d..ab3eed464 100644 --- a/third/golang.org/x/sys/windows/svc/mgr/recovery.go +++ b/third/golang.org/x/sys/windows/svc/mgr/recovery.go @@ -12,7 +12,7 @@ import ( "time" "unsafe" - "gitee.com/johng/gf/third/golang.org/x/sys/windows" + "github.com/gogf/gf/third/golang.org/x/sys/windows" ) const ( diff --git a/third/golang.org/x/sys/windows/svc/mgr/service.go b/third/golang.org/x/sys/windows/svc/mgr/service.go index b5795d8a1..f14a6b7a7 100644 --- a/third/golang.org/x/sys/windows/svc/mgr/service.go +++ b/third/golang.org/x/sys/windows/svc/mgr/service.go @@ -9,8 +9,8 @@ package mgr import ( "syscall" - "gitee.com/johng/gf/third/golang.org/x/sys/windows" - "gitee.com/johng/gf/third/golang.org/x/sys/windows/svc" + "github.com/gogf/gf/third/golang.org/x/sys/windows" + "github.com/gogf/gf/third/golang.org/x/sys/windows/svc" ) // TODO(brainman): Use EnumDependentServices to enumerate dependent services. diff --git a/third/golang.org/x/sys/windows/svc/security.go b/third/golang.org/x/sys/windows/svc/security.go index a8d4b526b..af9fbdafa 100644 --- a/third/golang.org/x/sys/windows/svc/security.go +++ b/third/golang.org/x/sys/windows/svc/security.go @@ -9,7 +9,7 @@ package svc import ( "unsafe" - "gitee.com/johng/gf/third/golang.org/x/sys/windows" + "github.com/gogf/gf/third/golang.org/x/sys/windows" ) func allocSid(subAuth0 uint32) (*windows.SID, error) { diff --git a/third/golang.org/x/sys/windows/svc/service.go b/third/golang.org/x/sys/windows/svc/service.go index 0b02202db..67a0a06c8 100644 --- a/third/golang.org/x/sys/windows/svc/service.go +++ b/third/golang.org/x/sys/windows/svc/service.go @@ -14,7 +14,7 @@ import ( "syscall" "unsafe" - "gitee.com/johng/gf/third/golang.org/x/sys/windows" + "github.com/gogf/gf/third/golang.org/x/sys/windows" ) // State describes service execution state (Stopped, Running and so on). diff --git a/third/golang.org/x/sys/windows/svc/svc_test.go b/third/golang.org/x/sys/windows/svc/svc_test.go index 759c8ce2d..3f27358cf 100644 --- a/third/golang.org/x/sys/windows/svc/svc_test.go +++ b/third/golang.org/x/sys/windows/svc/svc_test.go @@ -17,8 +17,8 @@ import ( "testing" "time" - "gitee.com/johng/gf/third/golang.org/x/sys/windows/svc" - "gitee.com/johng/gf/third/golang.org/x/sys/windows/svc/mgr" + "github.com/gogf/gf/third/golang.org/x/sys/windows/svc" + "github.com/gogf/gf/third/golang.org/x/sys/windows/svc/mgr" ) func getState(t *testing.T, s *mgr.Service) svc.State { @@ -69,7 +69,7 @@ func TestExample(t *testing.T) { defer os.RemoveAll(dir) exepath := filepath.Join(dir, "a.exe") - o, err := exec.Command("go", "build", "-o", exepath, "gitee.com/johng/gf/third/golang.org/x/sys/windows/svc/example").CombinedOutput() + o, err := exec.Command("go", "build", "-o", exepath, "github.com/gogf/gf/third/golang.org/x/sys/windows/svc/example").CombinedOutput() if err != nil { t.Fatalf("failed to build service program: %v\n%v", err, string(o)) } diff --git a/third/golang.org/x/sys/windows/syscall.go b/third/golang.org/x/sys/windows/syscall.go index 5a4d3aff7..4467b51f2 100644 --- a/third/golang.org/x/sys/windows/syscall.go +++ b/third/golang.org/x/sys/windows/syscall.go @@ -22,7 +22,7 @@ // These calls return err == nil to indicate success; otherwise // err represents an operating system error describing the failure and // holds a value of type syscall.Errno. -package windows // import "gitee.com/johng/gf/third/golang.org/x/sys/windows" +package windows // import "github.com/gogf/gf/third/golang.org/x/sys/windows" import ( "syscall" diff --git a/third/golang.org/x/sys/windows/syscall_test.go b/third/golang.org/x/sys/windows/syscall_test.go index 7add8cd8c..a244d8d42 100644 --- a/third/golang.org/x/sys/windows/syscall_test.go +++ b/third/golang.org/x/sys/windows/syscall_test.go @@ -10,7 +10,7 @@ import ( "syscall" "testing" - "gitee.com/johng/gf/third/golang.org/x/sys/windows" + "github.com/gogf/gf/third/golang.org/x/sys/windows" ) func testSetGetenv(t *testing.T, key, value string) { diff --git a/third/golang.org/x/sys/windows/syscall_windows_test.go b/third/golang.org/x/sys/windows/syscall_windows_test.go index 7f33d7466..6777fdc8a 100644 --- a/third/golang.org/x/sys/windows/syscall_windows_test.go +++ b/third/golang.org/x/sys/windows/syscall_windows_test.go @@ -11,7 +11,7 @@ import ( "syscall" "testing" - "gitee.com/johng/gf/third/golang.org/x/sys/windows" + "github.com/gogf/gf/third/golang.org/x/sys/windows" ) func TestWin32finddata(t *testing.T) { diff --git a/third/gopkg.in/yaml.v2/README.md b/third/gopkg.in/yaml.v2/README.md index 2ddfc8b03..d27f63aaa 100755 --- a/third/gopkg.in/yaml.v2/README.md +++ b/third/gopkg.in/yaml.v2/README.md @@ -57,7 +57,7 @@ import ( "fmt" "log" - "gitee.com/johng/gf/third/gopkg.in/yaml.v2" + "github.com/gogf/gf/third/gopkg.in/yaml.v2" ) var data = `