Skip to content

Instantly share code, notes, and snippets.

View piotrkowalczuk's full-sized avatar
🥌
Playing with tech.

Piotr Kowalczuk piotrkowalczuk

🥌
Playing with tech.
View GitHub Profile
### Keybase proof
I hereby claim:
* I am piotrkowalczuk on github.
* I am piotrkowalczuk (https://keybase.io/piotrkowalczuk) on keybase.
* I have a public key whose fingerprint is 4A31 C0C6 D1E8 1E26 47ED 9745 4C94 B681 1427 EC2D
To claim this, I am signing this object:
@piotrkowalczuk
piotrkowalczuk / ContentPackageFileRepository
Last active August 29, 2015 14:06
Angular Model/Repository implementation.
angular.module('App')
.factory('ContentPackageFileRepository',
[
'Restangular',
'ContentPackage',
'File',
function (
Restangular,
ContentPackage,
File
package database
type RepositoryManager struct {
repositories map[string]interface{}
}
func NewRepositoryManager() (repositoryManager *RepositoryManager) {
repositories := make(map[string]interface{})
repositoryManager = &RepositoryManager{repositories}
<?php
class ExampleSubscriber implements EventSubscriberInterface
{
/**
* @var array
*/
protected $event1Handlers;