From 7aa2601e66155f841fe39ebaa83323969d7849bc Mon Sep 17 00:00:00 2001 From: Přemysl Janouch
Date: Sat, 8 Sep 2018 19:57:27 +0200 Subject: nexgb: rewrite import paths --- nexgb/xgbgen/context.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nexgb/xgbgen') diff --git a/nexgb/xgbgen/context.go b/nexgb/xgbgen/context.go index 0728b64..8c658e6 100644 --- a/nexgb/xgbgen/context.go +++ b/nexgb/xgbgen/context.go @@ -79,10 +79,10 @@ func (c *Context) Morph(xmlBytes []byte) { // Write imports. We always need to import at least xgb. // We also need to import xproto if it's an extension. c.Putln("import (") - c.Putln("\"github.com/BurntSushi/xgb\"") + c.Putln("xgb \"janouch.name/haven/nexgb\"") c.Putln("") if c.protocol.isExt() { - c.Putln("\"github.com/BurntSushi/xgb/xproto\"") + c.Putln("\"janouch.name/haven/nexgb/xproto\"") } sort.Sort(Protocols(c.protocol.Imports)) @@ -91,7 +91,7 @@ func (c *Context) Morph(xmlBytes []byte) { if imp.Name == "xproto" { continue } - c.Putln("\"github.com/BurntSushi/xgb/%s\"", imp.Name) + c.Putln("\"janouch.name/haven/nexgb/%s\"", imp.Name) } c.Putln(")") c.Putln("") -- cgit v1.2.3-70-g09d2