action_signin.go 222 B

123456789101112
  1. package actions
  2. func (this *Action) Action_signin() {
  3. if dbe := this.use_database(); dbe != nil {
  4. this.msg_error(dbe.Error())
  5. return
  6. } else {
  7. defer this.db.Close()
  8. }
  9. this.msg_success(`Hello from web server`)
  10. }