go-patterns - Curated list of Go design patterns, recipes and idioms

  •        99

A curated collection of idiomatic design & application patterns for Go language.

http://tmrts.com/go-patterns
https://github.com/tmrts/go-patterns

Tags
Implementation
License
Platform

   




Related Projects

awesome-design-patterns - A curated list of software and architecture related design patterns.

  •    

A curated list of software and architecture related design patterns. Software design pattern - A general, reusable solution to a commonly occurring problem within a given context in software design. It is a description or template for how to solve a problem that can be used in many different situations.

python-patterns - A collection of design patterns/idioms in Python

  •    Python

A collection of design patterns and idioms in Python. When an implementation is added or modified, be sure to update this file and rerun append_output.sh (eg. ./append_output.sh borg.py) to keep the output comments at the bottom up to date.

javascript-design-patterns-for-humans - An ultra-simplified explanation of design patterns implemented in javascript

  •    

Design patterns are solutions to recurring problems guidelines on how to tackle certain problems. They are not classes, packages or libraries that you can plug into your application and wait for the magic to happen. These are, rather, guidelines on how to tackle certain problems in certain situations. In software engineering, a software design pattern is a general reusable solution to a commonly occurring problem within a given context in software design. It is not a finished design that can be transformed directly into source or machine code. It is a description or template for how to solve a problem that can be used in many different situations.

Java Design Patterns - Design patterns implemented in Java

  •    Java

Design patterns are formalized best practices that the programmer can use to solve common problems when designing an application or system. Design patterns can speed up the development process by providing tested, proven development paradigms.

design-patterns-for-humans - Design Patterns for Humans™ - An ultra-simplified explanation

  •    

A topic that can easily make anyone's mind wobble. Here I try to make them stick in to your mind (and maybe mine) by explaining them in the simplest way possible. Design patterns are solutions to recurring problems; guidelines on how to tackle certain problems. They are not classes, packages or libraries that you can plug into your application and wait for the magic to happen. These are, rather, guidelines on how to tackle certain problems in certain situations.


awesome-scalability - Scalable, Available, Stable, Performant, and Intelligent System Design Patterns

  •    

An updated and curated list of readings to illustrate best practices and patterns in building scalable, available, stable, performant, and intelligent large-scale systems. Concepts are explained in the articles of prominent engineers and credible references. Case studies are taken from battle-tested systems that serve millions to billions of users. Understand your problems: scalability problem (fast for a single user but slow under heavy load) or performance problem (slow for a single user) by reviewing some design principles and checking how scalability and performance problems are solved at tech companies. The section of intelligence are created for those who work with data and machine learning at big (data) and deep (learning) scale.

angularjs-in-patterns - AngularJS in patterns - this repository provides different look into AngularJS

  •    Javascript

One of the best ways to learn something new is to see how the things you already know are used in it. This document does not intend to make its readers familiar with the design or architectural patterns; it suggests basic understanding of the concepts of the OOP, design patterns and architectural patterns. The goal of this paper is to describe how different software design and architectural patterns are applied in AngularJS or any AngularJS single-page application.The document begins with brief overview of the AngularJS framework. The overview explains the main AngularJS components - directives, filters, controllers, services, scope. The second section lists and describes different design and architectural patterns, which are implemented inside the framework. The patterns are grouped by the AngularJS component they are used in. If some patterns are used inside multiple components it will be explicitly mentioned.

Design-Patterns-In-Swift - Design Patterns implemented in Swift

  •    Swift

A short cheat-sheet with Xcode 8.2 Playground (Design-Patterns.playground.zip). In software engineering, behavioral design patterns are design patterns that identify common communication patterns between objects and realize these patterns. By doing so, these patterns increase flexibility in carrying out this communication.

Design-Patterns-In-Kotlin - Design Patterns implemented in Kotlin

  •    Kotlin

In software engineering, behavioral design patterns are design patterns that identify common communication patterns between objects and realize these patterns. By doing so, these patterns increase flexibility in carrying out this communication. The observer pattern is used to allow an object to publish changes to its state. Other objects subscribe to be immediately notified of any changes.

design-patterns-in-ruby - GoF design patterns in Ruby

  •    

Summary of the design patterns explained in the book Design Patterns in Ruby, where Russ Olsen explains and adapts to Ruby 14 of the original 23 GoF design patterns. Code examples refactoring PR's will not be considered. The examples provided by Russ Olsen in his book are meant to be simple and self explanatory, not the best performing or most elegant, their purpose is just educational.

PyPattyrn - A simple library for implementing common design patterns.

  •    Python

PyPattyrn is a python package aiming to make it easier and faster to implement design patterns into your own projects. Design patterns by nature cannot be directly translated into code as they are just a description of how to solve a particular problem. However, many of the common design patterns have boilerplate code that is common throughout all implementations of the pattern. This package captures that common code and makes it easy to use so that you dont have to write it yourself in all your projects.

Loki - C++ library of common design patterns and idioms

  •    C++

A C++ library of designs, containing flexible implementations of common design patterns and idioms.

go-patterns

  •    Go

This is a collection of common design patterns translated into Go. The goal of this repository is to help programmers coming from other language communities understand how their favorite patterns can be reused in Go. We do not intended to be restrict this to the traditional GoF Design Patterns. We hope to include any language idiom you'd like to see re-implemented in more idiomatic Go. Suggestions are welcomed. If there is a pattern you'd like to see or contribute, please file an issue.

patterns - A catalogue of Rust design patterns

  •    

An open source repository of design patterns and idioms in the Rust programming language. You should start with the template. Copy it into the appropriate directory, edit it, and submit a PR. You might not want every section, and you might want to add extra sections.

Patternfly - A community of designers and developers collaborating to build a UI framework for enterprise web applications

  •    Javascript

The PatternFly library is a collection of UI design patterns. Design patterns are recurring solutions that solve common design problems and provide a common language for people who create user interfaces. In general, patterns do not specify requirements, but rather, present recommended solutions to design problems. PatternFly patterns build on that approach by additionally considering the needs of complex enterprise IT software, and the habits and motivations of its users, in their recommendations.

DesignPatternsPHP - sample code for several design patterns in PHP

  •    PHP

This is a collection of known design patterns and some sample code how to implement them in PHP. Every pattern has a small list of examples (most of them from Zend Framework, Symfony2 or Doctrine2 as I'm most familiar with this software). I think the problem with patterns is that often people do know them but don't know when to apply which.

fflib-apex-common - Common Apex Library supporting Apex Enterprise Patterns and much more!

  •    Apex

Is derived from the Dreamforce 2012 presentation on Apex Enterprise Patterns and progresses the patterns further with a more general ongoing home for them. It also adds some form of namespace qualification from the previous version. So that classes are grouped together more easily in the IDE's and packages. Below you can find comprehensive articles and videos on the use of these patterns. There is also a working sample application illustrating the patterns here. Design patterns are an invaluable tool for developers and architects looking to build enterprise solutions. Here are presented some tried and tested enterprise application engineering patterns that have been used in other platforms and languages. We will discuss and illustrate how patterns such as Data Mapper, Service Layer, Unit of Work and of course Model View Controller can be applied to Force.com. Applying these patterns can help manage governed resources (such as DML) better, encourage better separation-of-concerns in your logic and enforce Force.com coding best practices.

UML Design Patterns for Visual Studio

  •    

UML Design Patterns for Visual Studio is a project to provide Visual Studio 2010 and Visual Studio 2011 UML toolbox items representing the Gang of Four design patterns. The patterns are split into Creational, Structural and Behavioural sections, and includes a supporting UML p...

Code Snippets for Design Patterns

  •    

C# Code Snippets for the Gang for Four (GOF) Design Patterns. Shortcut is "dpdesignpatternname", e.g. dpsingleton for Singleton.