Hi!May be I'm doing something stupid but I'm having problems with a small test in go.I wrote this super-mini hello word as a test before writing a little programthat has to be deployed on different (but similar) machines.=================package mainfunc main () {print("Hi\n")}================in a x86_64 linux computer and copied the binary (compiled with go build version go1.1.2 linux/amd64)on two other x86_64 linux computer.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Running what OS?
(And why use print rather than fmt.PrintWossname?)
There's no such function as "print" - try import "fmt" and then use "fmt.Println()"
There's no such function as "print" - try import "fmt" and then use "fmt.Println()"
Current implementations provide several built-in functions useful during bootstrapping. These functions are documented for completeness but are not guaranteed to stay in the language. They do not return a result.
Function Behavior print prints all arguments; formatting of arguments is implementation-specific println like print but prints spaces between arguments and a newline at the end
Running what OS?ubuntu 12.04, ubuntu 13.10 and Red Hat RHEL 5.6 with kernel 2.6.18-238.el5 and 2.6.32-279.el6.x86_64
| Linux 2.6.23 or later with glibc | amd64, 386, arm | CentOS/RHEL 5.x not supported; no binary distribution for ARM yet |
| and runs without any output. |
Hi,could you show me your app name(the directory name of package main)? Try to rename another?I have met a similar situation on os Windows7 64bits version(6.1.7601), go version go1.1.2 windows/386A "hello world" application,if the app_name is "verify_update" or "update_verify", it need administrator authority