drone_plugin/go_handler/go_api_handler.go
icechen 745daedf91
All checks were successful
continuous-integration/drone/push Build is passing
update
2021-12-29 19:40:57 +08:00

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
}