1 // Copyright 2017 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 package sym 6 7 type Library struct { 8 Objref string 9 Srcref string 10 File string 11 Pkg string 12 Shlib string 13 Hash string 14 ImportStrings []string 15 Imports []*Library 16 Textp []*Symbol // text symbols defined in this library 17 DupTextSyms []*Symbol // dupok text symbols defined in this library 18 Main bool 19 Safe bool 20 } 21 22 func (l Library) String() string { 23 return l.Pkg 24 } 25