0
0
mirror of https://github.com/thegeeklab/wp-git-clone.git synced 2024-11-25 09:20:40 +00:00

cleanup import

This commit is contained in:
Robert Kaussow 2024-05-06 21:28:07 +02:00
parent 2204435c15
commit 6ac87de468
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -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)
} }