mirror of
https://github.com/thegeeklab/wp-git-clone.git
synced 2024-11-22 10:20:38 +00:00
cleanup import
This commit is contained in:
parent
2204435c15
commit
6ac87de468
@ -12,7 +12,7 @@ import (
|
|||||||
|
|
||||||
"github.com/thegeeklab/wp-git-clone/plugin"
|
"github.com/thegeeklab/wp-git-clone/plugin"
|
||||||
"github.com/thegeeklab/wp-plugin-go/v2/docs"
|
"github.com/thegeeklab/wp-plugin-go/v2/docs"
|
||||||
wp_template "github.com/thegeeklab/wp-plugin-go/v2/template"
|
"github.com/thegeeklab/wp-plugin-go/v2/template"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
@ -23,7 +23,7 @@ func main() {
|
|||||||
|
|
||||||
p := plugin.New(nil)
|
p := plugin.New(nil)
|
||||||
|
|
||||||
out, err := wp_template.Render(context.Background(), client, tmpl, docs.GetTemplateData(p.App))
|
out, err := template.Render(context.Background(), client, tmpl, docs.GetTemplateData(p.App))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user