1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Added robots.txt

This commit is contained in:
Zack Scholl
2016-02-08 17:25:01 -05:00
parent 5048dffb23
commit b704768ded
2 changed files with 6 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ import (
var animals []string
var adjectives []string
var robots_txt string
func init() {
rand.Seed(time.Now().Unix())
@@ -35,6 +36,9 @@ Have fun.
**Powered by Raspberry Pi and Go** ![Raspberry Pi](/static/img/raspberrypi.png) ![Go Mascot](/static/img/gomascot.png)`
robots_txt = `User-agent: *
Disallow: /`
}
func randomAnimal() string {