From f5b276415a28aada4a3caa37c52724a28015e0d0 Mon Sep 17 00:00:00 2001 From: Shlomi Noach Date: Fri, 1 Apr 2016 16:05:44 +0200 Subject: [PATCH] initial work on context --- go/base/context.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/go/base/context.go b/go/base/context.go index f238878..1448232 100644 --- a/go/base/context.go +++ b/go/base/context.go @@ -12,3 +12,9 @@ type MigrationContext struct { OriginalTableName string GhostTableName string } + +var Context = newMigrationContext() + +func newMigrationContext() *MigrationContext { + return &MigrationContext{} +}