drone_plugin/go_handler/go_api_handler.go

25 lines
331 B
Go

package go_handler
const TypeGolang = "golang"
const defaultPipeline = `
kind: pipeline
name: default
steps:
- name: build
image: golang
commands:
- go build
- go test -v
`
type GoApiHandler struct {
Name string
Root string
Port string
}
func (GoApiHandler) ToDestinationConfig() (string, error) {
return "", nil
}