/Promise-in-Go

Primary LanguageGoMIT LicenseMIT

Promise-in-Go

  • This is a simple implementation of the Promise prototype from JavaScript using interfaces in Go. It is developed as a library to be used in other projects.

Build

Firstly, clone the repository using the command:

git clone https://github.com/0xt3j4s/Promise-in-Go.git

Usage

Run

To run the code, use the following command:

go run main.go

Test

To test the code, use the following commands:

cd promise
go test

Adding more tests...