Commit d836784a authored by cznic's avatar cznic
Browse files

Make modernc.org the repository root

parent 056465bb
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package xc
package xc // import "modernc.org/xc"
import (
"bytes"
......@@ -14,7 +14,7 @@ import (
"strings"
"testing"
"github.com/cznic/mathutil"
"modernc.org/mathutil"
)
func caller(s string, va ...interface{}) {
......
......@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package xc
package xc // import "modernc.org/xc"
import (
"encoding/binary"
"sync"
"github.com/cznic/mathutil"
"modernc.org/mathutil"
)
const (
......@@ -46,7 +46,7 @@ func (d *MemDB) Bytes(id int) []byte {
}
if id < 257 {
return d.b256[id-1 : id:id]
return d.b256[id-1 : id : id]
}
id -= 257
......@@ -72,7 +72,7 @@ func (d *MemDB) bytesUnlocked(id int) []byte {
}
if id < 257 {
return d.b256[id-1 : id:id]
return d.b256[id-1 : id : id]
}
id -= 257
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package xc
package xc // import "modernc.org/xc"
import (
"bytes"
......
......@@ -3,7 +3,7 @@
// license that can be found in the LICENSE file.
// Package xc provides cross language compiler support/utility stuff.
package xc
package xc // import "modernc.org/xc"
import (
"fmt"
......@@ -16,8 +16,8 @@ import (
"strings"
"sync"
"github.com/cznic/golex/lex"
"github.com/cznic/strutil"
"modernc.org/golex/lex"
"modernc.org/strutil"
)
var (
......
......@@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package xc
package xc // import "modernc.org/xc"
import (
"go/token"
"github.com/cznic/golex/lex"
"github.com/cznic/strutil"
"modernc.org/golex/lex"
"modernc.org/strutil"
)
// Token describes a token.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment