-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix typo in readme. Reorganize image package after pull comments
- Loading branch information
1 parent
ce716e0
commit d9f1183
Showing
8 changed files
with
57 additions
and
69 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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,14 @@ | ||
package image | ||
|
||
// Image type for holding configuration | ||
type Image struct { | ||
ImageDir string `long:"imagedir" description:"Directory where generated images are placed"` | ||
ImageURLDir string `long:"imageurldir" description:"The directory part of the URL where browsers will find the images"` | ||
ImageFile string `long:"imagefile" description:"Full path to the image that will be served"` | ||
ImageText string `long:"imagetext" description:"The text. For amount, put {Amount}"` | ||
ImageTextX float64 `long:"imagetextx" description:"X position for start of first line"` | ||
ImageTextY float64 `long:"imagetexty" description:"Y position for start of first line"` | ||
ImageTextColor string `long:"imagetextcolor" description:"Text Color"` | ||
ImageTextFont string `long:"imagetextfont" description:"Text Font"` | ||
ImageTextSize float64 `long:"imagetextsize" description:"Text size (heigth in pixels)"` | ||
} |