drone_plugin/go_handler/go_api_handler.go

25 lines
331 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
`
2021-12-29 19:40:57 +08:00
type GoApiHandler struct {
Name string
Root string
Port string
}
2021-12-28 20:42:51 +08:00
func (GoApiHandler) ToDestinationConfig() (string, error) {
return "", nil
}