session.go 361 B

12345678910
  1. package hero
  2. // It's so easy, no need to be lived anywhere as built'n.. users should understand
  3. // how easy it's by using it.
  4. // // Session is a binder that will fill a *sessions.Session function input argument
  5. // // or a Controller struct's field.
  6. // func Session(sess *sessions.Sessions) func(context.Context) *sessions.Session {
  7. // return sess.Start
  8. // }