github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/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 import "github.com/shogo82148/std/cmd/internal/goobj" 8 9 type Library struct { 10 Objref string 11 Srcref string 12 File string 13 Pkg string 14 Shlib string 15 Fingerprint goobj.FingerprintType 16 Autolib []goobj.ImportedPkg 17 Imports []*Library 18 Main bool 19 Units []*CompilationUnit 20 21 Textp []LoaderSym 22 DupTextSyms []LoaderSym 23 } 24 25 func (l Library) String() string