— There's a typo/bug in the example code:
if not r.URL.Query().get("repeat") and not r.URL.Query().get("repeat"):
Should of course read:
if not r.URL.Query().get("repeat") and not r.URL.Query().get("name"):
— There's a typo/bug in the example code:
if not r.URL.Query().get("repeat") and not r.URL.Query().get("repeat"):
Should of course read:
if not r.URL.Query().get("repeat") and not r.URL.Query().get("name"):