aboutsummaryrefslogtreecommitdiff
path: root/nexgb/xgbgen
diff options
context:
space:
mode:
authorPřemysl Janouch <p@janouch.name>2018-09-08 19:57:27 +0200
committerPřemysl Janouch <p@janouch.name>2018-09-21 08:37:59 +0200
commit7aa2601e66155f841fe39ebaa83323969d7849bc (patch)
tree38d46724d8073c72008756032432c422b7561969 /nexgb/xgbgen
parent48fb710f357a363cce043a9f546e8a4aff196786 (diff)
downloadhaven-7aa2601e66155f841fe39ebaa83323969d7849bc.tar.gz
haven-7aa2601e66155f841fe39ebaa83323969d7849bc.tar.xz
haven-7aa2601e66155f841fe39ebaa83323969d7849bc.zip
nexgb: rewrite import paths
Diffstat (limited to 'nexgb/xgbgen')
-rw-r--r--nexgb/xgbgen/context.go6
1 files changed, 3 insertions, 3 deletions
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("")