mirror of
https://gitee.com/johng/gf
synced 2026-07-08 22:40:30 +08:00
v2 -> v3
This commit is contained in:
@ -14,8 +14,8 @@ import (
|
||||
|
||||
strip "github.com/grokify/html-strip-tags-go"
|
||||
|
||||
"github.com/gogf/gf/v2/errors/gcode"
|
||||
"github.com/gogf/gf/v2/errors/gerror"
|
||||
"github.com/gogf/gf/v3/errors/gcode"
|
||||
"github.com/gogf/gf/v3/errors/gerror"
|
||||
)
|
||||
|
||||
// StripTags strips HTML tags from content, and returns only text.
|
||||
|
||||
@ -9,9 +9,9 @@ package ghtml_test
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/gogf/gf/v2/encoding/ghtml"
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
"github.com/gogf/gf/v2/test/gtest"
|
||||
"github.com/gogf/gf/v3/encoding/ghtml"
|
||||
"github.com/gogf/gf/v3/frame/g"
|
||||
"github.com/gogf/gf/v3/test/gtest"
|
||||
)
|
||||
|
||||
func Test_StripTags(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user