Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • test
2 results

config.go

Blame
    • Simon Ruderich's avatar
      ffd30c50
      Share config.go between broker and fork-helper via symlink · ffd30c50
      Simon Ruderich authored
      The proper Go way would be to use an internal/config package stored in
      the top-level and then import it from both broker and fork-helper.
      However this would require an absolute import (e.g.
      ruderich.org/simon/sandbox/internal/config) which requires cloning the
      project into this specific directory in your $GOPATH (which might change
      in the future). Instead keep this simple by using a symlink.
      ffd30c50
      History
      Share config.go between broker and fork-helper via symlink
      Simon Ruderich authored
      The proper Go way would be to use an internal/config package stored in
      the top-level and then import it from both broker and fork-helper.
      However this would require an absolute import (e.g.
      ruderich.org/simon/sandbox/internal/config) which requires cloning the
      project into this specific directory in your $GOPATH (which might change
      in the future). Instead keep this simple by using a symlink.