Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add receipts #20

Merged
merged 9 commits into from
Jan 5, 2021
Merged

feat: add receipts #20

merged 9 commits into from
Jan 5, 2021

Conversation

naomasabit
Copy link
Contributor

No description provided.

@naomasabit naomasabit changed the title feat: add receipts [wip]feat: add receipts Jan 5, 2021
client.go Show resolved Hide resolved
client.go Outdated
//body := bytes.NewBuffer(jsonParams)
// form data
mw := multipart.NewWriter(body)
fw, err := mw.CreateFormFile("file", fileName)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

	if err != nil {
		return oauth2Token, err
	}

receipts.go Show resolved Hide resolved
//body := bytes.NewBuffer(jsonParams)
// form data
mw := multipart.NewWriter(body)
fw, err := mw.CreateFormFile("receipt", fileName)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MUST: error check

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

DONE!

Copy link
Contributor

@yyoshiki41 yyoshiki41 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@naomasabit naomasabit changed the title [wip]feat: add receipts feat: add receipts Jan 5, 2021
@naomasabit naomasabit merged commit 7479a10 into main Jan 5, 2021
@yyoshiki41 yyoshiki41 deleted the feature/receipts branch May 9, 2021 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants