From e239bb3c68a4981a3916534203c2fbd6b96f593c Mon Sep 17 00:00:00 2001 From: "Andrew Gallant (Ocelot)" Date: Thu, 10 May 2012 12:47:19 -0400 Subject: make resource ids their own individual types. last commit before overhaul to sub-packages --- nexgb/xgbgen/translation.go | 5 ----- 1 file changed, 5 deletions(-) (limited to 'nexgb/xgbgen/translation.go') diff --git a/nexgb/xgbgen/translation.go b/nexgb/xgbgen/translation.go index e4d81bc..44d615d 100644 --- a/nexgb/xgbgen/translation.go +++ b/nexgb/xgbgen/translation.go @@ -395,11 +395,6 @@ func TypeSrcName(p *Protocol, typ Type) string { return newt } - // If it's a resource type, just use 'Id'. - if _, ok := typ.(*Resource); ok { - return xgbGenResourceIdName - } - // If there's a namespace to this type, just use it and be done. if colon := strings.Index(t, ":"); colon > -1 { namespace := t[:colon] -- cgit v1.2.3