ݺߣ

ݺߣShare a Scribd company logo
Lets Go Lang
1/15
Lets Go Lang
- Startup go lang in windows -
2014/02/25
Lets Go Lang
2/15
1 Go lang install
1.1 Download Installer your environment
URL : http://code.google.com/p/go/downloads/list
1.2 Execute Installer
1.2.1 Start up dialog [Next]
1.2.2 Agreement license
Lets Go Lang
3/15
1.2.3 choice install directory and next
1.2.4 Start install!!
Lets Go Lang
4/15
1.2.5 Wait for finish
1.2.6 Congratration!! You Finished Install!!Wellcome golang world!!
Lets Go Lang
5/15
1.3 Check environment variables
1.3.1 Variables : GOROOT & GOPATH
1.3.2 Variables : path
Lets Go Lang
6/15
2 Lets hello world!!
2.1 Create helloworld.go
2.2 Write program
2.3 Execute program
2.4 And Format
Lets Go Lang
7/15
3 Setting IDE(GoClipse)
3.1 Install JDK
3.1.1 Open browser and searching how to install jdk help me.
3.2 Install Eclipse
3.2.1 Open browser and searching how to install eclipse help me.
3.3 Goclipse Setting
3.3.1 Open Eclipse Help->Install New Software and Site adding
Name : goclipse
URL : http://goclipse.googlecode.com/svn/trunk/goclipse-update-site/
Lets Go Lang
8/15
3.3.2 Check GoClipse and push Next button.
3.3.3 Push Next button at Install detail dialog.
Lets Go Lang
9/15
3.3.4 Check accept license and push finish button.
3.3.5 When showing Security worning then Push OK Button!! GO!!
3.3.6 reboot message showing!!Push Yes Button!! Now!! And wait reboot!!Now!!
Lets Go Lang
10/15
4 Setting GoClipse
4.1 Open preference window(Window->Preference)
4.2 Select Go in left pane.
Lets Go Lang
11/15
4.3 Input goroot and gopath and Push OK Button!! Now!! Quickly!!
Lets Go Lang
12/15
5 Lets create Go Project!!
5.1 Open create proejct dialog(Eclipse File->New->Project).and select Go Project.
5.2 Input project name.and push finish button.
Lets Go Lang
13/15
5.3 Create new src file.right click src folder and new -> go gile in package
manager.
5.4 Input filename and push finish button.
5.5 Edit created file and save
Lets Go Lang
14/15
5.6 Debug setting(left click project folder and runas->run configurations in
package explorer)
5.7 Seting main source file name.
5.8 choice common tab and checking debug and run in Display favaritosmenu.
Lets Go Lang
15/15
5.9 Push run button.
5.10 Awsome!!golover executed !!congratratins!!

More Related Content

Golang

  • 1. Lets Go Lang 1/15 Lets Go Lang - Startup go lang in windows - 2014/02/25
  • 2. Lets Go Lang 2/15 1 Go lang install 1.1 Download Installer your environment URL : http://code.google.com/p/go/downloads/list 1.2 Execute Installer 1.2.1 Start up dialog [Next] 1.2.2 Agreement license
  • 3. Lets Go Lang 3/15 1.2.3 choice install directory and next 1.2.4 Start install!!
  • 4. Lets Go Lang 4/15 1.2.5 Wait for finish 1.2.6 Congratration!! You Finished Install!!Wellcome golang world!!
  • 5. Lets Go Lang 5/15 1.3 Check environment variables 1.3.1 Variables : GOROOT & GOPATH 1.3.2 Variables : path
  • 6. Lets Go Lang 6/15 2 Lets hello world!! 2.1 Create helloworld.go 2.2 Write program 2.3 Execute program 2.4 And Format
  • 7. Lets Go Lang 7/15 3 Setting IDE(GoClipse) 3.1 Install JDK 3.1.1 Open browser and searching how to install jdk help me. 3.2 Install Eclipse 3.2.1 Open browser and searching how to install eclipse help me. 3.3 Goclipse Setting 3.3.1 Open Eclipse Help->Install New Software and Site adding Name : goclipse URL : http://goclipse.googlecode.com/svn/trunk/goclipse-update-site/
  • 8. Lets Go Lang 8/15 3.3.2 Check GoClipse and push Next button. 3.3.3 Push Next button at Install detail dialog.
  • 9. Lets Go Lang 9/15 3.3.4 Check accept license and push finish button. 3.3.5 When showing Security worning then Push OK Button!! GO!! 3.3.6 reboot message showing!!Push Yes Button!! Now!! And wait reboot!!Now!!
  • 10. Lets Go Lang 10/15 4 Setting GoClipse 4.1 Open preference window(Window->Preference) 4.2 Select Go in left pane.
  • 11. Lets Go Lang 11/15 4.3 Input goroot and gopath and Push OK Button!! Now!! Quickly!!
  • 12. Lets Go Lang 12/15 5 Lets create Go Project!! 5.1 Open create proejct dialog(Eclipse File->New->Project).and select Go Project. 5.2 Input project name.and push finish button.
  • 13. Lets Go Lang 13/15 5.3 Create new src file.right click src folder and new -> go gile in package manager. 5.4 Input filename and push finish button. 5.5 Edit created file and save
  • 14. Lets Go Lang 14/15 5.6 Debug setting(left click project folder and runas->run configurations in package explorer) 5.7 Seting main source file name. 5.8 choice common tab and checking debug and run in Display favaritosmenu.
  • 15. Lets Go Lang 15/15 5.9 Push run button. 5.10 Awsome!!golover executed !!congratratins!!