mirror of
https://gitee.com/johng/gf
synced 2026-07-05 05:13:14 +08:00
change gitee.com/johng/gf -> github.com/gogf/gf
This commit is contained in:
@ -38,7 +38,7 @@ $ go get github.com/ghodss/yaml
|
||||
And import using:
|
||||
|
||||
```
|
||||
import "gitee.com/johng/gf/third/github.com/ghodss/yaml"
|
||||
import "github.com/gogf/gf/third/github.com/ghodss/yaml"
|
||||
```
|
||||
|
||||
Usage is very similar to the JSON library:
|
||||
@ -49,7 +49,7 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"gitee.com/johng/gf/third/github.com/ghodss/yaml"
|
||||
"github.com/gogf/gf/third/github.com/ghodss/yaml"
|
||||
)
|
||||
|
||||
type Person struct {
|
||||
@ -93,7 +93,7 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"gitee.com/johng/gf/third/github.com/ghodss/yaml"
|
||||
"github.com/gogf/gf/third/github.com/ghodss/yaml"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
||||
@ -7,7 +7,7 @@ import (
|
||||
"reflect"
|
||||
"strconv"
|
||||
|
||||
"gitee.com/johng/gf/third/gopkg.in/yaml.v2"
|
||||
"github.com/gogf/gf/third/gopkg.in/yaml.v2"
|
||||
)
|
||||
|
||||
// Marshals the object into JSON then converts JSON to YAML and returns the
|
||||
|
||||
Reference in New Issue
Block a user