1
0
mirror of https://github.com/golang/go synced 2024-11-18 14:44:41 -07:00
go/cmd/godex/gc.go
Robert Griesemer 8b161c33a9 go.tools/cmd/godex: support for common path prefixes
All of these work now as expected:

        godex code.google.com/p/go.tools/go/types
        godex go.tools/go/types
        godex go/types
        godex types

Also improved logging/verbose mode.

LGTM=adonovan
R=adonovan
CC=golang-codereviews
https://golang.org/cl/80930043
2014-03-26 14:47:52 -07:00

16 lines
342 B
Go

// Copyright 2014 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// This file implements access to gc-generated export data.
package main
import (
"code.google.com/p/go.tools/go/gcimporter"
)
func init() {
register("gc", gcimporter.Import)
}