15 lines
218 B
Go
15 lines
218 B
Go
|
package main
|
||
|
|
||
|
import (
|
||
|
"github.com/hashicorp/packer/packer/plugin"
|
||
|
)
|
||
|
|
||
|
func main() {
|
||
|
server, err := plugin.Server()
|
||
|
if err != nil {
|
||
|
panic(err)
|
||
|
}
|
||
|
server.RegisterPostProcessor(new(PostProcessor))
|
||
|
server.Serve()
|
||
|
}
|