File tree 1 file changed +11
-11
lines changed
1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -98,17 +98,17 @@ handling logic.
98
98
)
99
99
100
100
func main() {
101
- // The local development server is normally started from the command line, but
102
- // certain IDE's support directly running go applications from the IDE. In these
103
- // cases, the function won't be recognized.
104
- //
105
- // To resolve, set the "FUNCTION_TARGET" env variable directly to ensure the
106
- // function is registered for the local server.
107
- //
108
- // err := os.Setenv("FUNCTION_TARGET", "HelloWorld")
109
- // if err != nil {
110
- // log.Fatalf("failed to set FUNCTION_TARGET: %v\n for local dev server", err)
111
- // }
101
+ // The local development server is normally started from the command line, but
102
+ // certain IDE's support directly running go applications and the function won't
103
+ // be recognized.
104
+ //
105
+ // To resolve, set the "FUNCTION_TARGET" env variable directly to ensure the
106
+ // function is registered for the local server.
107
+ //
108
+ // err := os.Setenv("FUNCTION_TARGET", "HelloWorld")
109
+ // if err != nil {
110
+ // log.Fatalf("failed to set FUNCTION_TARGET: %v\n for local dev server", err)
111
+ // }
112
112
113
113
// Use PORT environment variable, or default to 8080.
114
114
port := "8080"
You can’t perform that action at this time.
0 commit comments