- Replace prazdnikisegodnyaru with celebratoday as first is banned in Russia - Update .golangci.yml rule set - Megatons of fixes for linter - Update README.md
24 lines
447 B
Go
24 lines
447 B
Go
// Implements initialisation app for flickr service. Gains Tokens, etc.
|
|
package main
|
|
|
|
import (
|
|
"aleesa-webapp-go/internal/flickr"
|
|
"aleesa-webapp-go/internal/webapp"
|
|
"fmt"
|
|
"os"
|
|
)
|
|
|
|
func main() {
|
|
if err := webapp.ReadConfig(); err != nil {
|
|
fmt.Fprintln(os.Stderr, err)
|
|
os.Exit(1)
|
|
}
|
|
|
|
if err := flickr.APIClientInit(webapp.Config); err != nil {
|
|
fmt.Fprintln(os.Stderr, err)
|
|
os.Exit(1)
|
|
}
|
|
}
|
|
|
|
/* vim: set ft=go noet ai ts=4 sw=4 sts=4: */
|