Skip to content

Instantly share code, notes, and snippets.

@noqqe
Created April 7, 2021 15:14
Show Gist options
  • Save noqqe/7670ed419a534fc072973ee79e481cdd to your computer and use it in GitHub Desktop.
Save noqqe/7670ed419a534fc072973ee79e481cdd to your computer and use it in GitHub Desktop.
Armin Laschet denkt über Ostern nach.
package main
import (
"fmt"
"math/rand"
"time"
)
var number = []string{
"ein-",
"zwei-",
"drei-",
"vier-",
"fünf-",
"sechs-",
}
var timescale = []string{
"tägige/n",
"wöchige/n",
"monatige/n",
"fache/n",
"malige/n",
"hebige/n",
}
var adjective = []string{
"harte/n",
"soften",
"optionale/n",
"intransparenten/n",
"alternativlose/n",
"unumkehrbare/n",
}
var pre = []string{
"Wellenbrecher-",
"Brücken-",
"Treppen-",
"Wende-",
"Impf-",
"Ehren-",
}
var word = []string{
"Lockdown",
"Stopp",
"Maßnahme",
"Kampagne",
"Sprint",
"Matrix",
}
var target = []string{
"zum Sommer",
"auf Weiteres",
"zur Bundestagswahl",
"2030",
"nach den Abiprüfungen",
"in die Puppen",
}
var adj = []string{
"sofortigen",
"nachhaltigen",
"allmählichen",
"unausweichlichen",
"wirtschaftsschonenden",
"willkürlichen",
}
var reason = []string{
"Senkung",
"Steigerung",
"Beendigung",
"Halbierung",
"Vernichtung",
"Beschönigung",
}
var last = []string{
"Infektionszahlen.",
"privaten Treffen.",
"Wirtschaftsleistung.",
"Wahlprognosen.",
"dritten Welle.",
"Bundeskanzlerin.",
}
func rnd(c []string) string {
return c[rand.Intn(len(c))]
}
func main() {
rand.Seed(time.Now().Unix())
fmt.Printf("Was wir jetzt brauchen, ist ein/e %s%s %s %s%s \nbis %s zur %s %s der %s", rnd(number), rnd(timescale), rnd(adjective), rnd(pre), rnd(word), rnd(target), rnd(adj), rnd(reason), rnd(last))
}
@noqqe
Copy link
Author

noqqe commented Apr 7, 2021

> go run laschomat.go
Was wir jetzt brauchen, ist ein/e fünf-malige/n harte/n Brücken-Kampagne
bis nach den Abiprüfungen zur unausweichlichen Beendigung der Wirtschaftsleistung.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment