Skip to content

abrar-abu/golang

Repository files navigation

golang

Practice for go lang

  1. hello_world.go
  2. values.go
  3. variable.go
  4. constants.go
  5. for.go
  6. if-else.go
  7. switch.go
  8. arrays.go
  9. random.go
  10. slice.go
  11. maps.go

Random Programs

The programs are in Random folder

  1. test.go
  2. Rest.go
  3. papersize.go
  4. randomNumberGenrator.go
  5. divisors.go
  6. Kafka
  7. Customer
  8. Logger
  9. Config

Beginner exercises

The programs are in Beginner exercises folder

  • Create a program that shows your name.
    name.go
  • Create a program that shows your address.
    address.go
  • Create a program and add a comment with your name.
    comment.go
  • Create a program with multiple string variables.
    multiple_strings.go
  • Create a program that holds your name in a string.
    string_name.go

Intermediate exercises

Challenges

Todos

  • Add MORE assignment

Note :- Steps to run program

$ go run hello_world.go
        OR
$ go build hello_world.go
$ ./hello_world