github.com/ltltlt/go-source-code@v0.0.0-20190830023027-95be009773aa/cmd/link/internal/sym/library.go (about) 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 } 19 20 func (l Library) String() string { 21 return l.Pkg 22 }