2021-03-20 20:40:40 +00:00
|
|
|
// SPDX-FileCopyrightText: 2021 Luke Granger-Brown <depot@lukegb.com>
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2021-03-20 19:49:33 +00:00
|
|
|
package main
|
|
|
|
|
2021-03-20 23:17:02 +00:00
|
|
|
import (
|
2021-03-20 23:32:56 +00:00
|
|
|
"fmt"
|
|
|
|
"os"
|
|
|
|
|
2021-03-20 23:17:02 +00:00
|
|
|
"hg.lukegb.com/lukegb/depot/web/fup/cmd"
|
|
|
|
|
|
|
|
// Include various gocloud.dev backends.
|
|
|
|
_ "gocloud.dev/blob/fileblob"
|
|
|
|
_ "gocloud.dev/blob/gcsblob"
|
|
|
|
_ "gocloud.dev/blob/memblob"
|
|
|
|
_ "gocloud.dev/blob/s3blob"
|
|
|
|
)
|
2021-03-20 19:49:33 +00:00
|
|
|
|
|
|
|
func main() {
|
2021-03-20 23:32:56 +00:00
|
|
|
if err := cmd.Execute(); err != nil {
|
|
|
|
fmt.Fprintln(os.Stderr, err)
|
|
|
|
os.Exit(1)
|
|
|
|
}
|
2021-03-20 19:49:33 +00:00
|
|
|
}
|