GeistHaus
log in · sign up

Using Go Modules

blog.golang.org

An introduction to the basic operations needed to get started with Go modules.

21 pages link to this URL
Manage Go tools via Go modules | Marco Franssen

In this blog I will cover how I'm managing and versioning the tools my Go projects depend on. Go Modules are available since Go 1.11. Using Go Modules you can manage the dependencies for your project. You can compare it to NPM in Nodejs projects or Maven in Java project or Nuget in .NET projects. In general Go Modules are used to manage your compile time dependencies. However in my projects I also like to manage the tools required for Continuous Integration in my projects. To ensure all develop…

1 inbound link article en Software development - Golang
[goshs] Part #2 - Trying to achieve code quality

Tutorial Series This is Part 2 of a tutorial series. Also see: Part#1 - My take on SimpleHTTPServer in go Part#2 - Trying to achieve code quality Part#3 - I can haz featurez? Part#4 - Eyecandy, anyone? Summary In this chapter I want to split up the code a bit. So my goal is to reduce the main function to its minimum and to outsource different parts of the application to different topic related files. The separate files I chose will be templates, fileserver and log.

0 inbound links BlogPosting en posts gocodinggoshsBlog
Introduction to Go Modules

Table of Contents Preface Why Go Modules Philosophy Example Preface All the content for this post was gathered by reading the 7 part blog series by Russ Cox and other notes. There is also an introductory post on the Go blog. I would encourange you to read them as well. Why Go Modules Before jumping into the workings of Go modules, we should first understand why we need it in the first place. The current state of Go development has some drawbacks:

0 inbound links article en posts Tech
Go from a Pythonista's Perspective

Recently, I’ve had my first opportunity to dive into the Go programming language. Most of my career has been as a Python developer, but given how frequently they are compared, Go seemed like a natural language to try.\nBefore I move on to other things, I wanted to capture my reflections on Go, particularly as it compares to my experience with Python.\nThe good Go runs really quickly Core to the promises of the Go language is its ability to compile and run quickly. It lives up to these promises! It felt like the only time I ever spent waiting for something to happen was when Go was downloading dependencies.\n

0 inbound links article en Post PythonGo