Skip to content

Instantly share code, notes, and snippets.

Raph galaktor

View GitHub Profile
@galaktor
galaktor / gist:3819481
Created Oct 2, 2012
how to register a class and force the container to activate an instance of T once after configuration completed
View gist:3819481
public class StartableBootstrap<T>: IStartable
{
private readonly IComponentContext _context;
public StartableBootstrap(IComponentContext context)
{
_context = context;
}
public void Start()
View gist:3654745
package functest
import "testing"
import "runtime"
type Target struct {
in chan TestFunc
state int
}
You can’t perform that action at this time.