mirror of
https://github.com/go-micro/go-micro.git
synced 2024-11-30 08:06:40 +02:00
21 lines
236 B
Go
21 lines
236 B
Go
package plugin
|
|
|
|
var (
|
|
tmpl = `
|
|
package main
|
|
|
|
import (
|
|
"github.com/micro/go-micro/plugin"
|
|
|
|
"{{.Path}}"
|
|
)
|
|
|
|
var Plugin = plugin.Config{
|
|
Name: "{{.Name}}",
|
|
Type: "{{.Type}}",
|
|
Path: "{{.Path}}",
|
|
NewFunc: {{.Name}}.{{.NewFunc}},
|
|
}
|
|
`
|
|
)
|