get go1.1 tag right
Added go1.0 compatibilty layer