Documentation ¶
Index ¶
- func NotifyTranslatedReviews(dbName, fileName, from, to string) error
- func OpenReviewDatabase(dbName string) *sql.DB
- func PostSlack(d SlackData, url string) error
- func Translate(word, from, to string, atmc *MsAccessTokenMessageCache) (string, error)
- type Config
- type MsAccessTokenMessage
- type MsAccessTokenMessageCache
- type Result
- type Review
- type SlackData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NotifyTranslatedReviews ¶
func OpenReviewDatabase ¶
Types ¶
type Config ¶
type Config struct { MsTranslatorClientID string `toml:"ms_tranlator_client_id"` MsTranslatorClientSecret string `toml:"ms_tranlator_client_secret"` SlackURL string `toml:"slack_url"` }
Config ...
var GPReview Config
GPReview : Global information of configuration.
type MsAccessTokenMessage ¶
type MsAccessTokenMessageCache ¶
type MsAccessTokenMessageCache struct {
// contains filtered or unexported fields
}
type Review ¶
type Review struct { PackageName string AppVersion string // ReviewerLanguage string // ReviewerHardwareModel string ReviewSubmitDateAndTime string // ReviewSubmitMillisSinceEpoch string // ReviewLastUpdateDateAndTime string // ReviewLastUpdateMillisSinceEpoch string StarRating string ReviewTitle string ReviewText string }
Review ...
Click to show internal directories.
Click to hide internal directories.