mirror of
https://github.com/github/codeql.git
synced 2025-12-18 09:43:15 +01:00
12 lines
165 B
Go
12 lines
165 B
Go
package main
|
|
|
|
func controllerGood(msg string) {
|
|
if msg == "start" {
|
|
start()
|
|
} else if msg == "stop" {
|
|
stop()
|
|
} else {
|
|
panic("Message not understood.")
|
|
}
|
|
}
|