TheGoProgrammingLanguageSkiptoMainContentWhyGoarrow_drop_downPressEntertoactivate/deactivatedropdownCaseStudiesCommonproblemscompaniessolvewithGoUseCasesStoriesabouthowandwhycompaniesuseGoSecurityHowGocanhelpkeepyousecurebydefaultLearnPressEntertoactivate/deactivatedropdownDocsarrow_drop_downPressEntertoactivate/deactivatedropdownGoSpecTheofficialGolanguagespecificationGoUserManualAcompleteintroductiontobuildingsoftwarewithGoStandardlibraryReferencedocumentationforGosstandardlibraryReleaseNotesLearnwhatsnewineachGoreleaseEffectiveGoTipsforwritingclear,performant,andidiomaticGocodePackagesPressEntertoactivate/deactivatedropdownCommunityarrow_drop_downPressEntertoactivate/deactivatedropdownRecordedTalksVideosfromprioreventsMeetupsopen_in_newMeetotherlocalGodevelopersConferencesopen_in_newLearnandnetworkwithGodevelopersfromaroundtheworldGoblogTheGoprojectsofficialblog.GoprojectGethelpandstayinformedfromGoGetconnectedWhyGonavigate_nextnavigate_beforeWhyGoCaseStudiesUseCasesSecurityLearnDocsnavigate_nextnavigate_beforeDocsGoSpecGoUserManualStandardlibraryReleaseNotesEffectiveGoPackagesCommunitynavigate_nextnavigate_beforeCommunityRecordedTalksMeetupsopen_in_newConferencesopen_in_newGoblogGoprojectGetconnectedBuildsimple,secure,scalablesystemswithGoAnopen-sourceprogramminglanguagesupportedbyGoogleEasytolearnandgreatforteamsBuilt-inconcurrencyandarobuststandardlibraryLargeecosystemofpartners,communities,andtoolsGetStartedDownloadOpensanewwindowwiththeGetStartedguide.OpensanewwindowtodownloadGo.DownloadpackagesforWindows64-bit,macOS,Linux,andmoreThegocommandbydefaultdownloadsandauthenticatesmodulesusingtheGomodulemirrorandGochecksumdatabaserunbyGoogle.Learnmore.Opensinnewwindow.CompaniesusingGoOrganizationsineveryindustryuseGotopowertheirsoftwareandservicesViewallstoriesViewcasestudyViewcasestudyViewcasestudyViewcasestudy“Atthetime,nosingleteammemberknewGo,butwithinamonth,everyonewaswritinginGoandwewerebuildingouttheendpoints.Itwastheflexibility,howeasyitwastouse,andthereallycoolconceptbehindGo(howGohandlesnativeconcurrency,garbagecollection,andofcoursesafety+speed.)thathelpedengageusduringthebuild.Also,whocanbeatthatcutemascot!”—JaimeEnriqueGarciaLopez,SeniorSoftwareDevelopmentManageratCapitalOneAsmalllanguagethatcompilesfastmakesforahappydeveloper.TheGolanguageissmall,compilesreallyfast,andasaresultitletsyourmindfocusontheactualproblemandlessonthetoolyouareusingtosolveit.Code,test,debugcyclesaresoquickthatyouforgetyouarenotworkingwithaninterpretedlanguage.Lookingatourcode,youseelessboilerplateandmorebusinesslogic.—ClaytonColeman,LeadEngineer,OpenShiftatRedHat“Gohasexcellentcharacteristicsforscalabilityandserviceswrittenusingittypicallyhaveverysmallmemoryfootprints.Becausecodeiscompiledintoasinglestaticbinary,servicescanalsobecontainerisedwithease,makingitmuchsimplertobuildanddeploy.TheseattributesmakeGoanidealchoiceforcompaniesbuildingmicroservices,asyoucaneasilydeployintoahighlyavailableandscalableenvironmentsuchasKubernetes.”—MattBoyle,LeadSoftwareEngineeratCurveInourtightlymanagedenvironmentswherewerunGocode,wehaveseenaCPUreductionofapproximately10%withcleanerandmaintainablecode.—BalaNatarajan,Sr.DirectorofEngineering,DeveloperExperienceatPayPalToolinghasalwaysbeenaproblemwithourlegacycodebase...butwehavefoundthatGohasexcellenttooling,plusbuilt-intesting,benchmarking,andprofilingframeworks.Itiseasytowriteefficientandresilientapplications.AfterworkingonGo,mostofourdevelopersdontwanttogobacktootherlanguages.—BenjaminCane,VicePresidentandPrincipalEngineeratAmericanExpress...whenaprogramminglanguageisdesignedforexactlytheenvironmentmostofususerightnow—scalable,cloud-basedserversthatareoptimizedforperformance—alotcangoright.—JohnBiggsandBenPopper,atStackOverflownavigate_beforenavigate_nextTryGoPressEsctomoveoutoftheeditor.//Youcaneditthiscode!//Clickhereandstarttyping.packagemainimportfmtfuncmain()PressEsctomoveoutoftheeditor.Hello,世界Hello,World!ConwaysGameofLifeFibonacciClosurePeanoIntegersConcurrentpiConcurrentPrimeSievePegSolitaireSolverTreeComparisonRunShareTourWhat’spossiblewithGoUseGoforavarietyofsoftwaredevelopmentpurposesCloud&NetworkServicesWithastrongecosystemoftoolsandAPIsonmajorcloudproviders,itiseasierthanevertobuildserviceswithGo.PopularPackages:cloud.google.com/goaws/clientAzure/azure-sdk-for-goLearnMorearrow_forwardCommand-lineInterfacesWithpopularopensourcepackagesandarobuststandardlibrary,useGotocreatefastandelegantCLIs.PopularPackages:spf13/cobraspf13/viperurfave/clidelvechzyer/readlineLearnMorearrow_forwardWebDevelopmentWithenhancedmemoryperformanceandsupportforseveralIDEs,Gopowersfastandscalablewebapplications.PopularPackages:net/httphtml/templateflosch/pongo2database/sqlelastic/go-elasticsearchLearnMorearrow_forwardDevOps&SiteReliabilityWithfastbuildtimes,leansyntax,anautomaticformatteranddocgenerator,GoisbuilttosupportbothDevOpsandSRE.PopularPackages:open-telemetry/opentelemetry-goistio/istiourfave/cliLearnMorearrow_forwardMoreusecasesarrow_forwardGetstartedwithGoExploreawealthoflearningresources,includingguidedjourneys,courses,books,andmore.GetStartedDownloadGoResourcestostartonyourownGuidedlearningjourneysStep-by-steptutorialstogetyourfeetwetOnlinelearningBrowseresourcesandlearnatyourownpaceFeaturedbooksReadthroughstructuredchaptersandtheoriesCloudSelf-pacedlabsJumpintodeployingGoappsonGCPIn-PersonTrainingsArdanLabsOfferingcustomizedon-sitelivetrainingclasses.GopherGuidesCustomizedIn-person,remote,andonlinetrainingclasses.TrainingforDevelopersbyDevelopers.BossSauceCreativePersonalizedortrack-basedGotrainingforteams.ShijuVargheseOn-siteclassroomtrainingonGoandconsultingondistributedsystemsarchitectures,inIndia.WhyGoUseCasesCaseStudiesGetStartedPlaygroundTourStackOverflowHelpPackagesStandardLibraryAboutGoPackagespkg.go.devAPIAboutDownloadBlogIssueTrackerReleaseNotesBrandGuidelinesCodeofConductConnectBlueskyMastodonTwitterGitHubSlackr/golangMeetupGolangWeeklyOpensinnewwindow.CopyrightTermsofServicePrivacyPolicyReportanIssuego.devusescookiesfromGoogletodeliverandenhancethequalityofitsservicesandtoanalyzetraffic.Learnmore.Okay