mirror of
https://gitee.com/johng/gf.git
synced 2024-12-06 06:08:38 +08:00
19 lines
192 B
Go
19 lines
192 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"gitee.com/johng/gf/g/os/glog"
|
|
)
|
|
|
|
|
|
type T struct {
|
|
name string
|
|
}
|
|
|
|
func (t *T)Test() {
|
|
fmt.Println(t.name)
|
|
}
|
|
|
|
func main() {
|
|
glog.Error("test")
|
|
} |