1
0
mirror of https://github.com/golang/go synced 2024-11-19 09:54:49 -07:00
go/usr/gri/gosrc/package.go
Robert Griesemer a6f87794ff - added more code (package, export, compilation)
- first cut at semantic checks (disabled)

SVN=127348
2008-07-15 15:37:14 -07:00

24 lines
405 B
Go

// Copyright 2009 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.
package Package
import Globals "globals"
export Package
type Package struct {
ref int;
ident string;
path string;
key string;
scope *Globals.Scope;
}
export NewPackage;
func NewPackage() *Package {
pkg := new(Package);
return pkg;
}