Skip to content

mna/gocoro

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

gocoro

Lua coroutine implementation in a Go package. This repository is the accompanying code for the blog post Implementing Lua Coroutines In Go.

It has different implementations depending on the branches. The simple-int branch provides the basic implementation for a simple use-case that only yields an integer. The generic (and master) branch is the full-featured, empty interface-based implementation that is closest to Lua's coroutines. The make-func branch is an experimental branch for a reflect package-based implementation.

Releases

No releases published

Packages

No packages published

Languages