2014-03-25 16:26:38 -06:00
|
|
|
// 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 export data from source.
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
2016-03-17 13:25:34 -06:00
|
|
|
import "go/types"
|
2014-03-25 16:26:38 -06:00
|
|
|
|
|
|
|
func init() {
|
2016-03-17 13:25:34 -06:00
|
|
|
register("source", sourceImporter{})
|
2014-03-25 16:26:38 -06:00
|
|
|
}
|
|
|
|
|
2016-03-17 13:25:34 -06:00
|
|
|
type sourceImporter struct{}
|
|
|
|
|
|
|
|
func (sourceImporter) Import(path string) (*types.Package, error) {
|
2014-03-25 16:26:38 -06:00
|
|
|
panic("unimplemented")
|
|
|
|
}
|