403Webshell
Server IP : 217.160.0.212  /  Your IP : 216.73.216.141
Web Server : Apache
System : Linux www 6.18.51-i1-ampere #1196 SMP Fri Sep 11 20:43:55 CEST 2026 aarch64
User : sws1073854427 ( 1073854427)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/lib/go/src/cmd/go/testdata/script/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/go/src/cmd/go/testdata/script/work_overlay.txt
# Test that overlays are respected when opening go.work files.

# go.work in overlay, but not on disk.
go list -overlay=overlay.json -m
stdout example.com/a
stdout example.com/b
! stdout example.com/c

# control case for go.work on disk and in overlay:
# go.work is on disk but not in overlay.
cp go.work.non-overlay go.work
go list -m
stdout example.com/a
stdout example.com/b
stdout example.com/c

# go.work on disk and in overlay.
go list -overlay=overlay.json -m
stdout example.com/a
stdout example.com/b
! stdout example.com/c

-- overlay.json --
{"Replace": {"go.work": "overlaywork"}}
-- overlaywork --
use (
    ./a
    ./b
)
-- go.work.non-overlay --
use (
    ./a
    ./b
    ./c
)
-- a/go.mod --
module example.com/a
-- b/go.mod --
module example.com/b
-- c/go.mod --
module example.com/c

Youez - 2016 - github.com/yon3zu
LinuXploit