dp/

directory
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2026 License: BSD-3-Clause

README

NAME

dp -- design patterns

DESCRIPTION

Design Patterns is a collection of design patterns, collected from various locations on internet, books, or through personal experience. It does not aim to be a complete or exhaustive list of algorithms. Instead, it is an in-progress, never ending project, always growing with time as we uncover new patterns.

The format of the Design Patterns is to demonstrate conceptual idea with minimal code for readability. It does not aim to provide implementations in all possible languages. We believe, that the reader is capable to translate the algorithm into the language of their preference. As such, most of the code is written in easy to follow language Go.

  • Graph - graph algorithms

Directories

Path Synopsis
Package errors demonstrates error patterns.
Package errors demonstrates error patterns.
graph
cycle
Package cycle demonstrates cycle detection in a directed graph.
Package cycle demonstrates cycle detection in a directed graph.
proto
options
Package options demonstrates use of Protobuf options (message, field, etc.) in Go.
Package options demonstrates use of Protobuf options (message, field, etc.) in Go.
options/pb
Package pb shows how to define protobuf options (field, message, etc.), use it in other messages, proto-compile the code with protoc, and use it in Go.
Package pb shows how to define protobuf options (field, message, etc.), use it in other messages, proto-compile the code with protoc, and use it in Go.

Jump to

Keyboard shortcuts

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