speedroute

command module
v0.0.0-...-ec214df Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 13 Imported by: 0

README

speedroute

Speedrun route planning algorithm, finding the shortest possible path in a directed graph.

Project is "soon" hosted on https://speedroute.org.

Getting started

  1. Install go
  2. Install & setup postgresql
  3. Install flyway CLI
  4. Run ./flyway-migrate.sh
  5. Run go build & go test ./...
  6. Run golangci-lint -v run
  7. Run go run main.go
  8. Go to localhost:8001.
Versions used
go version go1.14.4 darwin/amd64
flyway-6.5.1
psql (PostgreSQL) 10.12 (Ubuntu 10.12-0ubuntu0.18.04.1)
golangci/tap/golangci-lint 1.27.0

Documentation

Overview

Package main creates the web server.

Directories

Path Synopsis
Package algorithm calculates the shortest path in a directed, weighted graph with a set of requirements.
Package algorithm calculates the shortest path in a directed, weighted graph with a set of requirements.
Package model provides model structs for a directed weighted graph.
Package model provides model structs for a directed weighted graph.
Package parser manages JSON/XML object and converts them into a graph.
Package parser manages JSON/XML object and converts them into a graph.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL