Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tomdewildt/advent-of-code-2020

Solutions for the Advent of Code 2020 problems implemented in Golang
https://github.com/tomdewildt/advent-of-code-2020

actions advent-of-code-2020 cobra golang logrus pflag

Last synced: about 2 months ago
JSON representation

Solutions for the Advent of Code 2020 problems implemented in Golang

Awesome Lists containing this project

README

        

# Advent of Code 2020
[![Version](https://img.shields.io/github/v/release/tomdewildt/advent-of-code-2020?label=version)](https://github.com/tomdewildt/advent-of-code-2020/releases)
[![Build](https://img.shields.io/github/actions/workflow/status/tomdewildt/advent-of-code-2020/ci.yml?branch=master)](https://github.com/tomdewildt/advent-of-code-2020/actions/workflows/ci.yml)
[![Release](https://img.shields.io/github/actions/workflow/status/tomdewildt/advent-of-code-2020/cd.yml?label=release)](https://github.com/tomdewildt/advent-of-code-2020/actions/workflows/cd.yml)
[![Coverage](https://img.shields.io/codecov/c/gh/tomdewildt/advent-of-code-2020)](https://codecov.io/gh/tomdewildt/advent-of-code-2020)
[![Report](https://goreportcard.com/badge/github.com/tomdewildt/advent-of-code-2020)](https://goreportcard.com/report/github.com/tomdewildt/advent-of-code-2020)
[![License](https://img.shields.io/github/license/tomdewildt/advent-of-code-2020)](https://github.com/tomdewildt/advent-of-code-2020/blob/master/LICENSE)

Solutions for the [Advent of Code 2020](https://adventofcode.com/2020) problems implemented in [Golang](https://golang.org/).

# How To Run

Prerequisites:
* go version ```1.19``` or later

### Development

1. Run ```make init``` to initialize the environment.
2. Run ```make run``` to execute the tool.

### Test

1. Run ```make init``` to initialize the environment.
2. Run ```make test``` to execute the tests for the tool.

# How To Build

### Linux

1. Run ```make init``` to initialize the environment.
2. Run ```make build``` to build the tool.

# References

[Go Docs](https://golang.org/doc/)

[Go Logus](https://godoc.org/github.com/sirupsen/logrus)

[Go Cobra](https://godoc.org/github.com/spf13/cobra)

[Go Testify](https://godoc.org/github.com/stretchr/testify)

[Go Project Layout](https://github.com/golang-standards/project-layout)