Skip to content

aarons-talks/2020-01-21-GoDays-Berlin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome Modules Using Gopher!

To see slides, make sure you have caddy v1 and run this:

$ cd slides
$ caddy

Press f to enter full screen.

Todo before demos

You don't need to do anything before the basic-public demo.

Before the basic-private demo, make sure to run:

$ git config --global --add url."git@github.com:".insteadOf "https://github.com/"

So that the go tool will check out private code from GitHub over SSH.

This command is in the steps of the README in that demo

You'll need a GitHub personal access token for this. Create one here. When you create it, just enable the repo scope and nothing else.

After you have it, store it in an environment variable on the command line. Here's how to do it on Linux/Mac systems:

$ export ATHENS_GITHUB_TOKEN="<your token>"

Then you'll be ready to run that demo.

Outline:

  • What are Go Modules & Really brief history
  • What changed in Go 1.13
    • Public proxy
    • Sum DB
      • go.sum and trust on first use
  • Impact of the sum DB on you
  • Impact for private projects
  • What knobs to turn
    • GOPRIVATE
    • GONOSUMDB
    • GOPROXY
  • Changing the defaults
    • Alternatives to the public proxy
    • Running your own private proxy
      • And its impact on the sum DB

About

Slides and demo code for my GoDays Berlin talk

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published