hunk.code_window: const (
   	ACTION_TYPING             = "typing"
   	ACTION_POSTED             = "posted"
   	ACTION_POST_EDITED        = "post_edited"
   	ACTION_POST_DELETED       = "post_deleted"
   	ACTION_CHANNEL_VIEWED     = "channel_viewed"
   	ACTION_NEW_USER           = "new_user"
   	ACTION_USER_ADDED         = "user_added"
  
hunk.labels: keep keep keep keep add keep keep keep
hunk.after_edit: 	ACTION_CHANNEL_DELETED    = "channel_deleted"
  
hunk.file_path: model/message.go
hunk.type: add
file: // Package pq is a pure Go Postgres driver for the database/sql package.
  
  // +build darwin dragonfly freebsd linux nacl netbsd openbsd solaris
  
  package pq
  
  import (
  	"os"
  	"os/user"
  )
  
  func userCurrent() (string, error) {
  	u, err := user.Current()
  	if err == nil {
  		return u.Username, nil
  	}
  
  	name := os.Getenv("USER")
  	if name != "" {
  		return name, nil
  	}
  
  	return "", ErrCouldNotDetectUsername
  }
  