-
Notifications
You must be signed in to change notification settings - Fork 472
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add a default user-agent header (#892)
* add a default user-agent header * add Version to util package; set util.Version as part of the release-build.sh script; use util.Version to make user-agent for http action * Update check to lower case user input * Remove setting version in main * Remove version variable from main; use util.Version in place of mains version variable * Update goss-shared.yaml with httpbin check for default user-agent * Update goss-shared.yaml Moved header tests into 1 * go fmt over whole project * changed string array back to brackets instead of dashes * sanity check * Added: user-agent test back into test file --------- Co-authored-by: Ahmed Elsabbahy <elsabbahyahmed@yahoo.com>
- Loading branch information
1 parent
ce8221d
commit 1b523c0
Showing
5 changed files
with
25 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package util | ||
|
||
var Version string |