Skip to content

lekkodev/go-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go template project

This is a simple Go project.

You can use this project as a starting point for trying out Lekko by following the instructions on our Get started guide.

Running

This project starts a simple http server on localhost:8080.

go run main.go

To run with an environment variable, simply pass it in as part of the go run call:

LEKKO_API_KEY=****** go run main.go

The server responds to requests with a simple text message. You can send requests using curl:

curl localhost:8080

About

Template Go project for trying out Lekko

Resources

License

Stars

Watchers

Forks

Languages