src

Go monorepo.
git clone git://code.dwrz.net/src
Log | Files | Refs

quit.go (155B)


      1 package event
      2 
      3 import "time"
      4 
      5 type Quit struct {
      6 	t time.Time
      7 }
      8 
      9 func (e *Quit) Time() time.Time {
     10 	return e.t
     11 }
     12 
     13 func NewQuit() *Quit {
     14 	return &Quit{}
     15 }