minipaste/minipaste.go

15 lines
238 B
Go
Raw Permalink Normal View History

2022-04-20 00:37:27 +00:00
package main
import (
"git.t-juice.club/torjus/minipaste/server"
"git.t-juice.club/torjus/minipaste/store"
)
func main() {
s := store.NewMemoryStore()
server := server.NewServer(s)
server.Addr = ":8080"
server.ListenAndServe()
}