mirror of
https://github.com/golang/go.git
synced 2025-05-05 23:53:05 +00:00
Initial implementation. Lots of missing pieces. Example use: godex math godex math.Sin godex math.Sin math.Cos LGTM=adonovan R=adonovan CC=golang-codereviews https://golang.org/cl/76890044
20 lines
468 B
Go
20 lines
468 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 export data from source.
|
|
|
|
package main
|
|
|
|
import (
|
|
"code.google.com/p/go.tools/go/types"
|
|
)
|
|
|
|
func init() {
|
|
register("source", protect(sourceImporter))
|
|
}
|
|
|
|
func sourceImporter(packages map[string]*types.Package, path string) (*types.Package, error) {
|
|
panic("unimplemented")
|
|
}
|