version 2

This commit is contained in:
John Guo
2021-10-11 21:41:56 +08:00
parent bea54b445e
commit 1bc0635f8b
1053 changed files with 2892 additions and 2892 deletions

View File

@ -9,7 +9,7 @@ package gcompress
import (
"bytes"
"compress/gzip"
"github.com/gogf/gf/os/gfile"
"github.com/gogf/gf/v2/os/gfile"
"io"
)

View File

@ -7,13 +7,13 @@
package gcompress_test
import (
"github.com/gogf/gf/debug/gdebug"
"github.com/gogf/gf/os/gfile"
"github.com/gogf/gf/os/gtime"
"github.com/gogf/gf/v2/debug/gdebug"
"github.com/gogf/gf/v2/os/gfile"
"github.com/gogf/gf/v2/os/gtime"
"testing"
"github.com/gogf/gf/encoding/gcompress"
"github.com/gogf/gf/test/gtest"
"github.com/gogf/gf/v2/encoding/gcompress"
"github.com/gogf/gf/v2/test/gtest"
)
func Test_Gzip_UnGzip(t *testing.T) {

View File

@ -8,13 +8,13 @@ package gcompress_test
import (
"bytes"
"github.com/gogf/gf/debug/gdebug"
"github.com/gogf/gf/encoding/gcompress"
"github.com/gogf/gf/os/gfile"
"github.com/gogf/gf/os/gtime"
"github.com/gogf/gf/v2/debug/gdebug"
"github.com/gogf/gf/v2/encoding/gcompress"
"github.com/gogf/gf/v2/os/gfile"
"github.com/gogf/gf/v2/os/gtime"
"testing"
"github.com/gogf/gf/test/gtest"
"github.com/gogf/gf/v2/test/gtest"
)
func Test_ZipPath(t *testing.T) {

View File

@ -9,8 +9,8 @@ package gcompress_test
import (
"testing"
"github.com/gogf/gf/encoding/gcompress"
"github.com/gogf/gf/test/gtest"
"github.com/gogf/gf/v2/encoding/gcompress"
"github.com/gogf/gf/v2/test/gtest"
)
func Test_Zlib_UnZlib(t *testing.T) {

View File

@ -10,9 +10,9 @@ import (
"archive/zip"
"bytes"
"context"
"github.com/gogf/gf/internal/intlog"
"github.com/gogf/gf/os/gfile"
"github.com/gogf/gf/text/gstr"
"github.com/gogf/gf/v2/internal/intlog"
"github.com/gogf/gf/v2/os/gfile"
"github.com/gogf/gf/v2/text/gstr"
"io"
"os"
"path/filepath"