mirror of
https://github.com/marcusDenslow/terminalShop.git
synced 2026-10-25 02:52:20 +02:00
docs(comments): add some comments (#4)
This commit is contained in:
@@ -16,6 +16,7 @@ import (
|
||||
|
||||
var slackClient = &http.Client{Timeout: 5 * time.Second}
|
||||
|
||||
// dollars converts cents to dollars
|
||||
func dollars(cents int) string {
|
||||
return fmt.Sprintf("$%.2f", float64(cents)/100)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user