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/fmt_load_errors.txt
env GO111MODULE=off

! go fmt does-not-exist

go fmt -n exclude
stdout 'exclude[/\\]x\.go'
stdout 'exclude[/\\]x_linux\.go'

# Test edge cases with gofmt.

! exec $GOROOT/bin/gofmt does-not-exist

exec $GOROOT/bin/gofmt gofmt-dir/no-extension
stdout 'package x'

exec $GOROOT/bin/gofmt gofmt-dir
! stdout 'package x'

! exec $GOROOT/bin/gofmt empty.go nopackage.go
stderr -count=1 'empty\.go:1:1: expected .package., found .EOF.'
stderr -count=1 'nopackage\.go:1:1: expected .package., found not'

-- exclude/empty/x.txt --
-- exclude/ignore/_x.go --
package x
-- exclude/x.go --
// +build linux,!linux

package x
-- exclude/x_linux.go --
// +build windows

package x
-- gofmt-dir/no-extension --
package x
-- empty.go --
-- nopackage.go --
not the proper start to a Go file

Al-HUWAITI Shell