Documentation ¶
Index ¶
- type SQLConn
- func (sqlc *SQLConn) Connect(url string) (err error)
- func (sqlc *SQLConn) CreateTable() error
- func (sqlc *SQLConn) PutAllTopics() error
- func (sqlc *SQLConn) PutToTable(topic string) error
- func (sqlc *SQLConn) QueryHash(hash string) (bool, error)
- func (sqlc *SQLConn) QueryTitleAuthorsSummaryId(topic string, date string) ([]byte, error)
- type TiAuSuId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SQLConn ¶
type SQLConn struct {
// contains filtered or unexported fields
}
1) sqlc := new(SQLConn) 2) sqlc.Connect() 3) sqlc.CreateTable() 4) sqlc.PutAllTopics()
func (*SQLConn) CreateTable ¶
func (*SQLConn) PutAllTopics ¶
Click to show internal directories.
Click to hide internal directories.