e2b-go-project

command
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2024 License: MIT Imports: 6 Imported by: 0

README

e2b-go-project

This is an example of using pegwings-go to create a simple golang project using the e2b and groq api powered by the pegwings-go library.

Usage

Make sure you have a groq key set in the environment variable GROQ_KEY. Also, make sure that you have a e2b api key set in the environment variable E2B_API_KEY.

export GROQ_KEY=your-groq-key
export E2B_API_KEY=your-e2b-api-key
go run .
System Prompt
Given the tools given to you, create a golang project with the following files:

<files>
main.go
utils.go
<files>

The main function should call the `utils.run() error` function.

The project should, when run, print the following:

<output>
Hello, World!
<output>

Documentation

Overview

Package main shows an example of using the e2b extension.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL