mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +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.")
|
|
}
|
|
}
|