Fix typo
This commit is contained in:
parent
a3f4c4fbac
commit
09a4062b23
|
|
@ -161,7 +161,7 @@ func (handler *subscriptionHandler) save() error {
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
handler := &subscriptionHandler{}
|
handler := &subscriptionHandler{}
|
||||||
handler.Subscribers = make(map[string]Subscriber)
|
handler.Subscribers = make(map[string][]Subscriber)
|
||||||
handler.load()
|
handler.load()
|
||||||
http.Handle("/", handler)
|
http.Handle("/", handler)
|
||||||
log.Fatal(http.ListenAndServe(":80", nil))
|
log.Fatal(http.ListenAndServe(":80", nil))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user