Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 469 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 469 Bytes

Go Promises

GoPromises is a small Go package containing features that act like JavaScript promises. It was inspired by this post.

Installation

First, install the package:

$ go get -u github.com/WKHAllen/gopromise

Then import it:

import "github.com/WKHAllen/gopromise"

Example

See the test file for basic examples.