Skip to content

Commit

Permalink
Merge pull request #10 from aktsk/aktsk/fix-typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
mizzy authored Apr 5, 2018
2 parents 4f7289e + 5105627 commit 6dd3c8b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/nolmandy/nolmandy_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func main() {
var certFileName string

flag.IntVar(&port, "port", 8000, "Port to listen")
flag.StringVar(&certFileName, "certFile", "", "Cetificate file")
flag.StringVar(&certFileName, "certFile", "", "Certificate file")

flag.Parse()

Expand Down
4 changes: 2 additions & 2 deletions receipt/model.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ type Receipt struct {
OriginalPurchaseDate
}

// InApp represents the recipt for in-app purchase
// InApp represents the receipt for in-app purchase
// https://developer.apple.com/library/content/releasenotes/General/ValidateAppStoreReceipt/Chapters/ReceiptFields.html#//apple_ref/doc/uid/TP40010573-CH106-SW12
type InApp struct {
Quantity int64 `json:"quantity,string"`
Expand All @@ -129,7 +129,7 @@ type CreationDate struct {
DatePST datePST `json:"receipt_creation_date_pst"`
}

// RequestDate is the date when vefiry request was issued
// RequestDate is the date when verify request was issued
type RequestDate struct {
Date date `json:"request_date"`
DateMS dateMS `json:"request_date_ms"`
Expand Down
2 changes: 1 addition & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type Request struct {
Password string `json:"password"`
}

// Serve is for serving receipt vefirification
// Serve is for serving receipt verification
func Serve(port int, cert *x509.Certificate) {
http.HandleFunc("/", Parse(cert))
log.Fatal(http.ListenAndServe(fmt.Sprintf(":%d", port), nil))
Expand Down

0 comments on commit 6dd3c8b

Please sign in to comment.