Al-HUWAITI Shell
Al-huwaiti


Server : LiteSpeed
System : Linux in-mum-web1333.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64
User : u141265441 ( 141265441)
PHP Version : 8.4.3
Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail
Directory :  /proc/self/root/opt/golang/1.22.0/src/cmd/go/testdata/script/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/self/root/opt/golang/1.22.0/src/cmd/go/testdata/script/build_internal.txt
# Test internal package errors are handled
cd testinternal3
go list .
stdout 'testinternal3'

# Test internal cache
cd ../testinternal4
! go build testinternal4/p
stderr 'internal'

# Test internal packages outside GOROOT are respected
cd ../testinternal2
env GO111MODULE=off
! go build -v .
stderr 'p\.go:3:8: use of internal package .*internal/w not allowed'
env GO111MODULE=''

[compiler:gccgo] skip # gccgo does not have GOROOT
cd ../testinternal
! go build -v .
stderr 'p\.go:3:8: use of internal package net/http/internal not allowed'

-- testinternal/go.mod --
module testinternal

go 1.16
-- testinternal/p.go --
package p

import _ "net/http/internal"
-- testinternal2/go.mod --
module testinternal2

go 1.16
-- testinternal2/p.go --
package p

import _ "./x/y/z/internal/w"
-- testinternal2/x/y/z/internal/w/w.go --
package w
-- testinternal3/go.mod --
module testinternal3

go 1.16
-- testinternal3/t.go --
package t

import _ "internal/does-not-exist"
-- testinternal4/go.mod --
module testinternal4

go 1.16
-- testinternal4/p/p.go --
package p

import (
	_ "testinternal4/q/internal/x"
	_ "testinternal4/q/j"
)
-- testinternal4/q/internal/x/x.go --
package x
-- testinternal4/q/j/j.go --
package j

import _ "testinternal4/q/internal/x"

Al-HUWAITI Shell