func (f *flasher) In(s session.SessionStore) bool { if in := s.Get("_flashes"); in != nil { if inf, ok := in.(Flashes); ok { f.flashes = inf return true } } return false }
func (f *flasher) Out(s session.SessionStore) bool { if err := s.Set("_flashes", f.flashes); err != nil { return true } return false }