-
Notifications
You must be signed in to change notification settings - Fork 10
Refactor: update officers to use new huh logic
#166
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
Merged
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
cf350a8
cleanup officer delete
TheJolman e718a41
clean up officer get
TheJolman fdeef71
create resuable function
TheJolman 2b9d53f
use reusable function once
TheJolman d3fe15e
more simplification
TheJolman a4f423c
use new function in announcements post
TheJolman 811167e
add godoc comment
TheJolman 78b59d8
update announcements put
TheJolman 42e2830
use bytes.NewBuffer
TheJolman 90c671b
fixup officers delete and get
TheJolman 0d4bc93
rename officers.go to root.go
TheJolman 4c0fdd1
remove top-level menu for now
TheJolman afe9e10
cleanup officer post
TheJolman 6da3afc
implement officer post form
TheJolman c7efaa3
fixup officer put
TheJolman 8917fe2
rm unused flags
TheJolman b1a12b6
restore auth to SendRequestAndReadResponse
TheJolman 273f77f
change usage string
TheJolman 3acf2c5
fixes
TheJolman 6bf04fb
put old values in update form
TheJolman 9b0bb7e
use default values in officer update
TheJolman e8fb875
fix bad route in officers get
TheJolman 6ec4b51
rm default value for announnceAt
TheJolman 636115b
fix but in announcemnet put form
TheJolman d7f5e59
ouput to stderr
TheJolman 443e24b
error handling fixes
TheJolman 72f0412
add logging message
TheJolman 25a1c69
fixes after rebase
TheJolman 65945a3
exit on unrecoverable errors in cli officer post
TheJolman 938405e
fix typo in comment
TheJolman e70d892
print non-nil json body on err
TheJolman df98c02
fix: CheckErr can now detect if err is nil
TheJolman File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.