Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cockroach ¶
type Cockroach struct {
// contains filtered or unexported fields
}
func NewCockroachConnection ¶
func (*Cockroach) AddComment ¶
func (*Cockroach) GetPost ¶
TODO: may need to switch back to using two queries here if we ever want to get info frm the posts table since a post may have no comments
func (*Cockroach) ReconnectIfClosed ¶ added in v0.1.1
type DataMock ¶
type DataMock struct {
// contains filtered or unexported fields
}
mock implementation of the data interface for testing
func NewDataMock ¶
func NewDataMock() *DataMock
func (*DataMock) AddComment ¶
Click to show internal directories.
Click to hide internal directories.