1 00:00:11,360 --> 00:00:16,800 Hello and welcome to the Golang programming language course in this session. 2 00:00:16,820 --> 00:00:24,080 We want to talk about install the Go programming language practically inside the Windows operating system. 3 00:00:24,740 --> 00:00:28,370 First, install the Gear tool in the Windows environment. 4 00:00:29,000 --> 00:00:30,700 So go to the M6. 5 00:00:30,710 --> 00:00:39,800 Get the guitar that I or U R A M CS Guide Dot Guitar, Dot I or. 6 00:00:42,640 --> 00:00:46,360 And now we enter the gates of download page. 7 00:00:47,320 --> 00:00:53,260 Press the download button and wait until the download starts. 8 00:00:55,720 --> 00:00:57,340 Press the start a lot. 9 00:00:59,940 --> 00:01:00,360 OK. 10 00:01:00,390 --> 00:01:04,620 Download complete it now, go to install the application. 11 00:01:08,530 --> 00:01:11,500 Right click and run as administrator. 12 00:01:18,390 --> 00:01:26,490 The first page of the application was opened, this page provides us jianyu general public license information. 13 00:01:28,190 --> 00:01:37,460 Press next and continue in this space, we should select an application destination location by default 14 00:01:37,460 --> 00:01:37,830 here. 15 00:01:37,850 --> 00:01:41,480 Destination location is C Program Files Gieat Folder. 16 00:01:41,600 --> 00:01:46,640 You can change this destination, but here we don't change it to continue. 17 00:01:46,640 --> 00:01:47,540 Click Next. 18 00:01:48,860 --> 00:01:53,030 In this page, ask us what components you want to install. 19 00:01:53,690 --> 00:02:01,160 We can accept the default settings and we can select on the desktop option as additional icons. 20 00:02:01,190 --> 00:02:05,920 Press next and continue in this page, we select the Start menu folder. 21 00:02:05,930 --> 00:02:15,320 By default, it is gieat select, eat and click next to continue in this page, ask us what text editor 22 00:02:15,320 --> 00:02:17,150 you want to select by default. 23 00:02:17,150 --> 00:02:25,010 Forget, depending on the type of editor installed on the operating system, the desired editor can 24 00:02:25,010 --> 00:02:26,770 be selected here. 25 00:02:26,810 --> 00:02:34,580 The Notepad Plus Plus editor is installed on my system, so I select it as the default text editor for 26 00:02:34,640 --> 00:02:34,940 it. 27 00:02:36,020 --> 00:02:43,510 So I choose Notepad Plus Balance as default editors are used by G8 tool to continue press. 28 00:02:43,550 --> 00:02:49,730 Next, here we want to adjust the name of the initial branch in new repositories. 29 00:02:49,940 --> 00:02:53,400 As default, we select Let it decide to continue. 30 00:02:53,420 --> 00:02:54,320 Press next. 31 00:02:54,980 --> 00:02:58,640 In this case, we want to define your pad environment. 32 00:02:59,060 --> 00:03:06,830 By default, we selected from the command line and also from third party software to continue press 33 00:03:06,830 --> 00:03:07,280 next. 34 00:03:08,030 --> 00:03:15,080 Here we want to select which SSL or TLS library would you like to use for SD connections? 35 00:03:15,410 --> 00:03:20,930 By default, we select Use the open SSL library press. 36 00:03:20,930 --> 00:03:22,130 Next, continue. 37 00:03:22,640 --> 00:03:28,370 In this case, we want to configure how should we treat line endings in text fonts? 38 00:03:28,910 --> 00:03:36,290 By default, we select check out windows that's just commit unique, special style lines endings to 39 00:03:36,290 --> 00:03:37,580 continue press NICS. 40 00:03:38,350 --> 00:03:44,140 Here, we want to know which terminal emulator do you want to use with your Gwaith batch? 41 00:03:45,050 --> 00:03:49,370 By default, we use Mean KTVI press next. 42 00:03:51,980 --> 00:03:57,000 In this case, we want to choose the default behavior of gate pool as default. 43 00:03:57,020 --> 00:04:01,340 We select Fast Forward or missed press next and continue. 44 00:04:01,970 --> 00:04:06,050 Here we want to know which credential helpers should be configured. 45 00:04:06,320 --> 00:04:12,290 By default, we selected Credential Manager Core to continue press next. 46 00:04:12,860 --> 00:04:19,520 In this case, we want to configure extra options and to know which features would you like to enable. 47 00:04:20,240 --> 00:04:23,240 Here we select Enable File System Catching. 48 00:04:24,280 --> 00:04:30,610 To continue press next here, we want to configure experimental options and to know which bleeding edge 49 00:04:30,610 --> 00:04:36,460 features would you like to enable in this case, we don't select anything and press in a start. 50 00:04:36,970 --> 00:04:38,860 The program is being installed. 51 00:04:39,160 --> 00:04:42,810 We are waiting for the installation of the program to be completed. 52 00:04:45,270 --> 00:04:48,000 The software installation process is complete. 53 00:04:48,360 --> 00:04:52,620 Now let's go to desktop and see the get software shortcut. 54 00:04:53,990 --> 00:05:02,600 So first run the gate tool to test the soft fit, we want to see the least of files and folders in the 55 00:05:02,600 --> 00:05:04,610 current part to do this. 56 00:05:04,760 --> 00:05:06,320 We use the less common. 57 00:05:07,910 --> 00:05:11,480 Now we see that the software is installed chronically. 58 00:05:11,630 --> 00:05:20,360 And this comment shows the least of all files and folders for us in the first Test that we managed to 59 00:05:20,480 --> 00:05:24,300 this to get completely in the following. 60 00:05:24,320 --> 00:05:28,430 We checked the CND or command prompt software in Windows. 61 00:05:28,880 --> 00:05:31,050 So click on a Start button. 62 00:05:31,070 --> 00:05:36,110 Type C mode and select command prompt here. 63 00:05:36,260 --> 00:05:42,260 As in the previous system, we can see the files and folders in the current path to check the software 64 00:05:42,380 --> 00:05:43,820 in the Windows Terminal. 65 00:05:43,880 --> 00:05:52,460 The DJR Command is used to view the files and folders, so we tidy I R and press enter. 66 00:05:53,320 --> 00:06:00,490 Now we see that everything is correct and all the files and folders in the current pack are displayed 67 00:06:00,490 --> 00:06:01,870 to us correctly. 68 00:06:02,350 --> 00:06:05,530 Now it's time to move on to in the styling go language. 69 00:06:09,330 --> 00:06:14,690 So go to the go blank dot org, slash the. 70 00:06:17,290 --> 00:06:25,750 We entered the Gold Lange software download page based on the desired operating system, selecting installation 71 00:06:25,750 --> 00:06:27,160 file and download it. 72 00:06:27,850 --> 00:06:32,380 So we select the Windows installation fine, press the download button. 73 00:06:33,190 --> 00:06:35,440 Wait until the download starts. 74 00:06:37,520 --> 00:06:47,750 Now, start, download, the program is being downloaded, download completed, so go to the wrong application. 75 00:06:52,810 --> 00:06:54,300 Right click on the program. 76 00:06:54,370 --> 00:06:55,360 And in a star. 77 00:07:01,480 --> 00:07:02,950 To continue, click next. 78 00:07:04,000 --> 00:07:12,460 This page provides Ars with SOF, the license information, so we select I accept the terms in the license 79 00:07:12,460 --> 00:07:20,020 agreement to continue in select next year, you will have to choose the part to install the go language. 80 00:07:20,410 --> 00:07:25,810 We choose the default path as see backslash, go and continue. 81 00:07:27,070 --> 00:07:29,050 Here, click on Install Button. 82 00:07:30,280 --> 00:07:38,260 Wait a few seconds for the goal language installation to finish installation of the program is completed 83 00:07:38,260 --> 00:07:40,300 and we click on the finish button. 84 00:07:42,610 --> 00:07:46,780 Now we were able to install the Golang programming language. 85 00:07:47,260 --> 00:07:54,160 In this time, you need to define a path as a workspace for the go link, which we usually selected 86 00:07:54,160 --> 00:07:54,970 by default. 87 00:07:55,180 --> 00:07:58,020 See Backslash User Package. 88 00:07:58,030 --> 00:08:06,640 This username and package lets go and create three folders being SIRC pcgg in this part. 89 00:08:07,030 --> 00:08:10,340 So go to my computer, select Drive. 90 00:08:10,390 --> 00:08:12,730 See go to users. 91 00:08:13,270 --> 00:08:15,490 My username here is Hamid Reza. 92 00:08:15,520 --> 00:08:16,960 Go to Hamid Reza. 93 00:08:18,540 --> 00:08:19,920 Create a folder. 94 00:08:22,410 --> 00:08:23,580 Named Go. 95 00:08:26,010 --> 00:08:29,580 Now in Go folder, we create these three folders. 96 00:08:29,910 --> 00:08:33,030 First, create a folder name being. 97 00:08:35,100 --> 00:08:44,490 Second, create a folder named PCGG and third create a folder named SIRC. 98 00:08:45,390 --> 00:08:47,910 OK, here you want to examine it. 99 00:08:47,910 --> 00:08:55,500 Challenge, open the CND program and check the version of the installed GO programming language with 100 00:08:55,500 --> 00:09:00,000 the Go version comment, so click on the Start button. 101 00:09:01,590 --> 00:09:05,070 Type CND and select command prompt. 102 00:09:06,430 --> 00:09:10,120 In this case, we use Frank Go version common, so we tie. 103 00:09:10,480 --> 00:09:12,330 Go version. 104 00:09:15,040 --> 00:09:18,880 Here we see that the installed version of Golang is displayed. 105 00:09:19,300 --> 00:09:27,310 But if the Go version command does not return any output, it means that we should set the environment 106 00:09:27,310 --> 00:09:28,000 variables. 107 00:09:28,480 --> 00:09:34,060 To do this, right click on the My Computer Select properties. 108 00:09:37,570 --> 00:09:41,680 Select advanced system sitting from the right side. 109 00:09:43,820 --> 00:09:54,170 Select the environment variables in this section, go to the System Variables unit and select part and 110 00:09:54,170 --> 00:09:58,310 press, edit and press the new button. 111 00:09:59,780 --> 00:10:06,890 Then set the C column back Yes, let's go back a splash being in this case, we have already set this 112 00:10:06,890 --> 00:10:15,830 value here now to create a girl part right here, then at the top of the page in the user variables 113 00:10:15,830 --> 00:10:16,580 section. 114 00:10:16,850 --> 00:10:27,050 Press the new button in the variable named, then type the vote go pad in upper case and in the variable 115 00:10:27,050 --> 00:10:32,480 value fill time percent user profile by upper case. 116 00:10:34,390 --> 00:10:36,610 Percent back, yes, let's go. 117 00:10:37,150 --> 00:10:38,560 Then press, OK. 118 00:10:42,080 --> 00:10:48,980 By sitting environment variables in the system inside the terminal, we will have access to the go commands 119 00:10:48,980 --> 00:10:50,210 in any part. 120 00:10:50,960 --> 00:10:56,060 So go to the terminal, click on the Start button. 121 00:10:58,290 --> 00:11:01,350 Right, Sandy said a comment from. 122 00:11:02,540 --> 00:11:09,140 First chance, a directory and again, Ron, go urgent, come in. 123 00:11:11,870 --> 00:11:17,600 Now we can see version of the installed GO program with the government comment in another directory. 124 00:11:18,170 --> 00:11:24,030 OK, it's time to download and install this code program for these. 125 00:11:24,050 --> 00:11:32,960 Go to the code that Visual Studio dot com you are so tied code that Visual Studio. 126 00:11:35,500 --> 00:11:38,680 Dot com slash download. 127 00:11:42,420 --> 00:11:47,850 Based on the desired operating system, select installation, file and download it. 128 00:11:48,720 --> 00:11:54,450 My system is Windows 64 bit version, so Settings System Installer 64 bit. 129 00:11:55,080 --> 00:11:56,460 Press the download button. 130 00:11:57,780 --> 00:12:00,030 Wait until the download starts. 131 00:12:00,510 --> 00:12:02,430 Click on the Start download button. 132 00:12:03,630 --> 00:12:05,520 The program is being downloaded. 133 00:12:07,170 --> 00:12:11,100 OK, download completed, so go to install the application. 134 00:12:15,000 --> 00:12:18,630 Right click on the program and select Run as administrator. 135 00:12:22,790 --> 00:12:26,540 This page provides us with SOF, the license agreement. 136 00:12:29,750 --> 00:12:36,890 So select I Accept Agreement radio button and click next to continue on this page, you'll have to choose 137 00:12:36,890 --> 00:12:45,680 the path to install the V escort set up will install Visual Studio called into the C Program Files Microsoft 138 00:12:45,680 --> 00:12:50,090 Voice Code folder, so we choose it as default and continue. 139 00:12:50,510 --> 00:12:56,930 Here you select the Start Menu Folder set will create the Programs shortcut in the following Start Menu 140 00:12:56,930 --> 00:12:57,500 folder. 141 00:12:58,520 --> 00:13:00,080 To continue, press next. 142 00:13:01,040 --> 00:13:08,000 In this case, we want to select which additional tasks should be performed, so we set an app to pat 143 00:13:08,510 --> 00:13:12,950 and created this stop icon as additional icons to continue. 144 00:13:12,950 --> 00:13:15,800 Click next and click Install button. 145 00:13:17,300 --> 00:13:19,190 The program is being installed. 146 00:13:22,380 --> 00:13:26,880 Now, press finish button, the soft installation process is complete. 147 00:13:27,120 --> 00:13:31,440 Now let's go to the desktop and run the escort program. 148 00:13:35,400 --> 00:13:39,340 Now, it's time to configure the vs code in this time. 149 00:13:39,360 --> 00:13:49,350 We want to install go extension, so first press control plus shield plus x key and select go extension. 150 00:13:52,660 --> 00:13:53,890 In a start, it's. 151 00:13:59,100 --> 00:14:04,170 Now, installation completed saw clear software and reopen it again. 152 00:14:06,120 --> 00:14:10,710 Now, it's time to install the required Tools for Waskow program. 153 00:14:12,150 --> 00:14:17,370 So press control plus shift plus p short key and select Go. 154 00:14:19,540 --> 00:14:27,760 Install update tools and select all the check boxes for installing all required tools. 155 00:14:33,300 --> 00:14:37,290 We are waiting for the installation of the required tools to be completed. 156 00:14:40,000 --> 00:14:40,330 OK. 157 00:14:41,290 --> 00:14:48,220 All tools successfully in a staffed, now closed school program and open it again. 158 00:14:55,120 --> 00:14:59,830 Go to the project, explore open workspace. 159 00:15:07,250 --> 00:15:15,560 My workspace is C users, Hamid Reza Go and select SRT folder. 160 00:15:18,900 --> 00:15:26,460 In this case, we want to create a sample in this court, so we define a package like, hello. 161 00:15:28,490 --> 00:15:40,400 And create a fine life main dubbed Go Inside It and set a package, for example, Pichai's main in this 162 00:15:40,490 --> 00:15:47,630 section, we want to write a few lines of code and just we want to test the program and we will explain 163 00:15:47,630 --> 00:15:49,010 these codes in the future. 164 00:15:49,850 --> 00:15:59,600 So we write phone main and set the message for dysfunction, family, not prindle and. 165 00:16:01,910 --> 00:16:04,220 Welcome to go. 166 00:16:05,700 --> 00:16:07,170 Programming language. 167 00:16:10,870 --> 00:16:19,630 Now, save the project, go to terminal and execute the program first clear screen, go to the project 168 00:16:19,630 --> 00:16:26,770 folder and execute the program by the Command Go Run Main Go. 169 00:16:28,970 --> 00:16:33,470 Now we can see the output welcome to go programming language. 170 00:16:33,980 --> 00:16:37,580 Everything is ready for us to be able to write our courts. 171 00:16:38,270 --> 00:16:40,170 We have reached the end of this session. 172 00:16:40,190 --> 00:16:44,040 I hope you take full advantage of this session until next session. 173 00:16:44,060 --> 00:16:44,630 Goodbye.