mirror of
https://gitee.com/johng/gf.git
synced 2024-12-11 08:19:19 +08:00
19 lines
212 B
Go
19 lines
212 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"gitee.com/johng/gf/g/encoding/gurl"
|
|
)
|
|
|
|
|
|
type T struct {
|
|
name string
|
|
}
|
|
|
|
func (t *T)Test() {
|
|
fmt.Println(t.name)
|
|
}
|
|
|
|
func main() {
|
|
fmt.Println(gurl.Encode("@123"))
|
|
} |