mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01: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.")
|
|
}
|
|
}
|