- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for modPath (0.13 sec)
-
src/cmd/go/internal/modcmd/init.go
func runInit(ctx context.Context, cmd *base.Command, args []string) { if len(args) > 1 { base.Fatalf("go: 'go mod init' accepts at most one argument") } var modPath string if len(args) == 1 { modPath = args[0] } modload.ForceUseModules = true modload.CreateModFile(ctx, modPath) // does all the hard work
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 19 15:51:46 UTC 2023 - 1.3K bytes - Viewed (0) -
src/internal/coverage/encodemeta/encode.go
"io" "os" ) type CoverageMetaDataBuilder struct { stab stringtab.Writer funcs []funcDesc tmp []byte // temp work slice h hash.Hash pkgpath uint32 pkgname uint32 modpath uint32 debug bool werr error } func NewCoverageMetaDataBuilder(pkgpath string, pkgname string, modulepath string) (*CoverageMetaDataBuilder, error) { if pkgpath == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 17:16:10 UTC 2024 - 5.5K bytes - Viewed (0) -
src/cmd/internal/cov/readcovdata.go
// VisitFuncCounterData(F) // } // EndCounterDataFile(D) // } // EndCounters(MF) // for each package PK in MF { // BeginPackage(PK) // if <PK matched according to package pattern and/or modpath> { // for each function PF in PK { // VisitFunc(PF) // } // } // EndPackage(PK) // } // EndPod(p) // } // Finish() type CovDataVisitor interface {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 14 00:03:57 UTC 2023 - 8.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_auth.txt
Bryan C. Mills <******@****.***> 1677854890 +0000
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 24 15:54:04 UTC 2023 - 763 bytes - Viewed (0) -
src/cmd/covdata/doc.go
cov-example/p/p.go:16.3,18.3 0 0 cov-example/p/p.go:19.3,21.3 0 0 ... $ go tool cover -html=cov.txt $ 5. Merge profiles together: $ go tool covdata merge -i=indir1,indir2 -o=outdir -modpaths=github.com/go-delve/delve $ 6. Subtract one profile from another $ go tool covdata subtract -i=indir1,indir2 -o=outdir $ 7. Intersect profiles
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 03 12:57:25 UTC 2023 - 2K bytes - Viewed (0)