Editing GoLang

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
-
This is a small Wiki page about the [http://maemo.org/packages/view/golang/ golang package] on Maemo. The package contains the standalone go compiler and libraries targeting armv6.
+
= golang =
 +
 
 +
This is a small Wiki page about the golang package on maemo. The package
 +
contains the standalone go compiler and libraries targeting armv6.
== Creating a Hello world application using the go programming language ==
== Creating a Hello world application using the go programming language ==
-
Creating a Hello world application using the [http://golang.org/ go language] on the [[Nokia N900|N900]]. The go compiler and libraries for Maemo are packaged in a package called <code>golang</code> that can be installed from the fremantle/free repository. The package puts all its content in a directory called <code>/opt/go</code> to follow Maemo packaging policies.
+
Creating a Hello world application using the go language created by google http://golang.org/ on the N900. The go compiler and libraries for maemo are packaged in a package called golang that can be installed from the fremantle/free repository. The package puts all it's content in a directory called /opt/go to follow maemo packaging policies.
Once the package is installed we need to set a few environments variables to make the go compiler happy.
Once the package is installed we need to set a few environments variables to make the go compiler happy.
Line 21: Line 24:
-
Now off to create Hello world. We will create a directory in the users home directory create a small go hello world file, compile, link and run it.
+
Now off to create Hello world. We will create a directory in the users home directory create a small go hello world file , compile,link and run it.
Creating the directory using mkdir
Creating the directory using mkdir
Line 58: Line 61:
  Hello, Maemo
  Hello, Maemo
-
If all went well you just ran your first go code on Maemo!
+
If all went well you just ran your first go code on maemo!
-
 
+
-
[[Category:Development]]
+

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)