github.com/koron/hk@v0.0.0-20150303213137-b8aeaa3ab34c/data.go (about)

     1  package main
     2  
     3  import (
     4  	"time"
     5  
     6  	"github.com/heroku/hk/Godeps/_workspace/src/github.com/bgentry/heroku-go"
     7  )
     8  
     9  type Release struct {
    10  	heroku.Release
    11  
    12  	Commit string // deduced from Description, if possible
    13  	Who    string // who created the release
    14  }
    15  
    16  type LogSession struct {
    17  	LogplexURL string `json:"logplex_url"`
    18  	CreatedAt  time.Time
    19  }
    20  
    21  type NullString string
    22  
    23  func (s *NullString) String() string {
    24  	if s == nil {
    25  		return "(null)"
    26  	}
    27  	return string(*s)
    28  }