mirror of
https://github.com/thegeeklab/wp-git-action.git
synced 2024-11-22 10:10:39 +00:00
cleanup import
This commit is contained in:
parent
e8dee1de8e
commit
a07e0d2ef6
@ -12,7 +12,7 @@ import (
|
|||||||
|
|
||||||
"github.com/thegeeklab/wp-git-action/plugin"
|
"github.com/thegeeklab/wp-git-action/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