mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
15 lines
335 B
Go
15 lines
335 B
Go
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)
|
|
}
|