mirror of
https://github.com/github/codeql.git
synced 2026-04-21 06:55:31 +02:00
13 lines
170 B
Go
13 lines
170 B
Go
package main
|
|
|
|
func controllerGood(msg string) {
|
|
switch {
|
|
case msg == "start":
|
|
start()
|
|
case msg == "stop":
|
|
stop()
|
|
default:
|
|
panic("Message not understood.")
|
|
}
|
|
}
|