Skip to content

Commit

Permalink
Fix: import cycle
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleChair committed Oct 17, 2024
1 parent b8c0b70 commit 8cfc44b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/goai/goai_example.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"fmt"

"github.com/gogf/gf/v2/encoding/gjson"
"github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/internal/empty"
"github.com/gogf/gf/v2/internal/json"
"github.com/gogf/gf/v2/os/gfile"
"github.com/gogf/gf/v2/os/gres"
Expand All @@ -32,7 +32,7 @@ type ExampleRef struct {
}

func (e *Examples) applyExamplesFile(path string) error {
if g.IsNil(e) {
if empty.IsNil(e) {
return nil
}
var json string
Expand Down

0 comments on commit 8cfc44b

Please sign in to comment.