github.com/april1989/origin-go-tools@v0.0.32/cmd/godex/source.go (about)

     1  // Copyright 2014 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  // This file implements access to export data from source.
     6  
     7  package main
     8  
     9  import "go/types"
    10  
    11  func init() {
    12  	register("source", sourceImporter{})
    13  }
    14  
    15  type sourceImporter struct{}
    16  
    17  func (sourceImporter) Import(path string) (*types.Package, error) {
    18  	panic("unimplemented")
    19  }