mirror of
https://github.com/xiaoqidun/goini.git
synced 2024-11-22 22:46:47 +08:00
使用结构体指针
This commit is contained in:
parent
007378e35e
commit
f236ad259c
4
goini.go
4
goini.go
@ -16,8 +16,8 @@ type GoINI struct {
|
|||||||
commonField string
|
commonField string
|
||||||
}
|
}
|
||||||
|
|
||||||
func NewGoINI() GoINI {
|
func NewGoINI() *GoINI {
|
||||||
return GoINI{
|
return &GoINI{
|
||||||
commonField: "BuiltCommon",
|
commonField: "BuiltCommon",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user