put common init code in honk.go

master
Ted Unangst 5 years ago
parent 761929ec47
commit 4f386cf558

@ -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

@ -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

Loading…
Cancel
Save