Moves main into cmd dir. (#977)

This commit is contained in:
Travis Reeder
2018-05-09 00:52:52 -07:00
committed by Denis Makogon
parent b81ac1d2d2
commit 999820d15b
8 changed files with 8 additions and 8 deletions

14
cmd/fnserver/main.go Normal file
View File

@@ -0,0 +1,14 @@
package main
import (
"context"
"github.com/fnproject/fn/api/server"
// EXTENSIONS: Add extension imports here or use `fn build-server`. Learn more: https://github.com/fnproject/fn/blob/master/docs/operating/extending.md
)
func main() {
ctx := context.Background()
funcServer := server.NewFromEnv(ctx)
funcServer.Start(ctx)
}