put common init code in honk.go

This commit is contained in:
Ted Unangst 2019-10-29 15:53:20 -04:00
parent 761929ec47
commit 4f386cf558
2 changed files with 5 additions and 4 deletions

View File

@ -23,10 +23,6 @@ import (
"humungus.tedunangst.com/r/webs/gate"
)
func init() {
notrand.Seed(time.Now().Unix())
}
type Doover struct {
ID int64
When time.Time

View File

@ -20,12 +20,17 @@ import (
"fmt"
"html/template"
"log"
notrand "math/rand"
"os"
"strconv"
"strings"
"time"
)
func init() {
notrand.Seed(time.Now().Unix())
}
type WhatAbout struct {
ID int64
Name string