mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
* fn: add test framework * fn: make routes creation smarter * fn: add testframework examples * fn: remove unnecessary dependency * fn: update doc * fn: fix consistenty between runff, runlocaltest and runremotetest
15 lines
174 B
Go
15 lines
174 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
)
|
|
|
|
func main() {
|
|
envvar := os.Getenv("HEADER_ENVVAR")
|
|
if envvar != "" {
|
|
fmt.Println("HEADER_ENVVAR:", envvar)
|
|
}
|
|
fmt.Println("hw")
|
|
}
|