Skip to content

LSUDOKO/Learn_Golang

Repository files navigation

Learn Golang

This repository contains code examples for learning the Go programming language (Golang).

Structure

Contents

A simple "Hello World" program to get started with Go.

Demonstrates basic data types in Go:

  • Integers
  • Strings
  • Booleans
  • Floats
  • Basic arithmetic operations

Shows different ways to declare and use variables in Go:

  • Explicit type declaration
  • Type inference
  • Shorthand syntax
  • Variable reassignment

Demonstrates how to work with constants in Go:

  • Single constant declaration
  • Multiple constants declaration
  • Package-level constants
  • Function-level constants

Getting Started

To run any example, navigate to its directory and use the go run command:

cd basics
go run main.go

About

This repository contains code examples for learning the Go programming language (Golang).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages