mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-12 19:55:14 +02:00
13 lines
295 B
Go
13 lines
295 B
Go
// Phase 11 (Track J.9) — Go UNAUTHORIZED_ID benign control fixture.
|
|
package benign
|
|
|
|
const callerID = "alice"
|
|
|
|
var store = map[string]string{"alice": "alice@x", "bob": "bob@x"}
|
|
|
|
func Run(ownerID string) string {
|
|
if ownerID != callerID {
|
|
return ""
|
|
}
|
|
return store[ownerID]
|
|
}
|