drone_plugin/go_handler/go_handler.go

21 lines
290 B
Go
Raw Normal View History

2021-12-28 20:42:51 +08:00
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{}
func (GoApiHandler) ToDestinationConfig() (string, error) {
return "", nil
}