1
0
mirror of https://github.com/gogf/gf.git synced 2025-04-05 11:18:50 +08:00

feat(ghttp): add Request.GetMetaTag to get specific meta tag value

This commit is contained in:
panda 2025-03-08 14:24:20 +08:00
parent 018650583a
commit 1e1f8c6fdf
2 changed files with 3 additions and 2 deletions

View File

@ -8,7 +8,6 @@ package ghttp
import (
"fmt"
"github.com/gogf/gf/v2/util/gmeta"
"net/http"
"reflect"
"strings"
@ -21,6 +20,7 @@ import (
"github.com/gogf/gf/v2/os/gview"
"github.com/gogf/gf/v2/text/gregex"
"github.com/gogf/gf/v2/text/gstr"
"github.com/gogf/gf/v2/util/gmeta"
"github.com/gogf/gf/v2/util/guid"
)

View File

@ -8,9 +8,10 @@
package gmeta
import (
"reflect"
"github.com/gogf/gf/v2/container/gvar"
"github.com/gogf/gf/v2/os/gstructs"
"reflect"
)
// Meta is used as an embedded attribute for struct to enabled metadata feature.