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:
4
utils.go
4
utils.go
@@ -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**  `
|
||||
|
||||
robots_txt = `User-agent: *
|
||||
Disallow: /`
|
||||
|
||||
}
|
||||
|
||||
func randomAnimal() string {
|
||||
|
||||
Reference in New Issue
Block a user