Created
February 25, 2024 08:18
-
-
Save ORESoftware/3f104e51d5266d81fb809fd93eb20d5d to your computer and use it in GitHub Desktop.
Main gleamlang file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gleam_cowboy | |
import gleam/http.{Request, Response} | |
import gleam/http/response.{ok} | |
pub fn main() { | |
gleam_cowboy.start(fn(_req: Request) { | |
ok("Hello, Gleam!") | |
}, on_port: 3000) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment