Skip to content

jreisinger/gointro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 

Repository files navigation

Go intro for sec and ops people

Why intro for sec and ops people

  • I've worked as sysadmin, devops/security person since 2013
  • I've been using Go (together with some Bash and Perl/Python) since 2018
  • mostly small/medium sized one/two-person programs

Why sec and ops people should program

  • to better understand how software works
  • to better understand dev people
  • to create tools, automation, PoCs

Why Go

  • focus on simplicity, reliability (correctness) and speed
  • lot of cloud is written in Go (e.g. Kubernetes, terraform)
  • nice addition to Bash and/or Python since it's quite different

Go peculiarities

  • packages, types, goroutines, channels: cd fetch
  • cross-compilation to a single binary: GOOS=linux GOARCH=arm64 go build fetch.go
  • methods and interfaces: cd shop
  • small and secure images: docker build -t shop . && docker run -p 8000:8000 shop

Learn more

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published