Documentation ¶
Index ¶
- Variables
- func BuildPutChangeMeta(c m.Comment) *tablestore.PutRowChange
- func CreateClient() *tablestore.TableStoreClient
- func CreateTable() error
- func DeleteComment(prodId string, commentId int64) error
- func GetComment(prodId string, commentId int64) (m.Comment, error)
- func GetMultiCommentsByPage(prodId string, commentId int64, pageSize int32) ([]m.Comment, int64, error)
- func InsertOrUpdate(commentStorage m.Comment) (int64, error)
- func IsTableExisted(tableName string) (bool, error)
- func UnmarshalComment(resp *tablestore.Row, v interface{}) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func BuildPutChangeMeta ¶
func BuildPutChangeMeta(c m.Comment) *tablestore.PutRowChange
func CreateClient ¶
func CreateClient() *tablestore.TableStoreClient
func CreateTable ¶
func CreateTable() error
func DeleteComment ¶
func GetMultiCommentsByPage ¶
func IsTableExisted ¶
func UnmarshalComment ¶
func UnmarshalComment(resp *tablestore.Row, v interface{}) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.