Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetenvOrDefault ¶
GetenvOrDefault retrieves the value of the environment variable named by the `key`. If the value is empty `fallback` is returned instead.
Types ¶
type TweetsByCreationDateDesc ¶
TweetsByCreationDateDesc is helper struct to implement sorting of `Tweet` slices by creation date.
func (TweetsByCreationDateDesc) Len ¶
func (s TweetsByCreationDateDesc) Len() int
func (TweetsByCreationDateDesc) Less ¶
func (s TweetsByCreationDateDesc) Less(i, j int) bool
func (TweetsByCreationDateDesc) Swap ¶
func (s TweetsByCreationDateDesc) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.