diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 00000000..415c3eaa --- /dev/null +++ b/AUTHORS @@ -0,0 +1,20 @@ +# This is the list of Event Horizon authors for copyright purposes. +# +# This does not necessarily list everyone who has contributed code, since in +# some cases, their employer may be the copyright holder. To see the full list +# of contributors, see the revision history in source control. + +Looplab AB / Max Ekman +Jon Warghed +Mark Bucciarelli +Jens Rantil +Sonny Vidfamn +C A Hart +Daniel Travin +Johnny Bergström +Gerrit Renker +Stefan Fuchs +David Högborg +Michael E Brown +Oleg Yashchuk +Bradley Weston diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 00000000..45904feb --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,73 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as +contributors and maintainers pledge to making participation in our project and +our community a harassment-free experience for everyone, regardless of age, body +size, disability, ethnicity, gender identity and expression, level of experience, +education, socio-economic status, nationality, personal appearance, race, +religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment +include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or + advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic + address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable +behavior and are expected to take appropriate and fair corrective action in +response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or +reject comments, commits, code, wiki edits, issues, and other contributions +that are not aligned to this Code of Conduct, or to ban temporarily or +permanently any contributor for other behaviors that they deem inappropriate, +threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces +when an individual is representing the project or its community. Examples of +representing a project or community include using an official project e-mail +address, posting via an official social media account, or acting as an appointed +representative at an online or offline event. Representation of a project may be +further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported by contacting the project team at [INSERT EMAIL ADDRESS]. All +complaints will be reviewed and investigated and will result in a response that +is deemed necessary and appropriate to the circumstances. The project team is +obligated to maintain confidentiality with regard to the reporter of an incident. +Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good +faith may face temporary or permanent repercussions as determined by other +members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, +available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html + +[homepage]: https://www.contributor-covenant.org diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 00000000..2b39eac8 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,66 @@ +# Contributing to Event Horizon + +First off, thanks for taking the time to contribute! + +The following is a set of guidelines for contributing to Event Horizon and its packages, which are hosted in the [Looplab Organization](https://github.com/looplab) on GitHub. These are mostly guidelines, not rules. Use your best judgment, and feel free to propose changes to this document in a pull request. + +#### Table Of Contents + +[Code of Conduct](#code-of-conduct) + +[How Can I Contribute?](#how-can-i-contribute) + +* [Reporting Bugs](#reporting-bugs) +* [Suggesting Enhancements](#suggesting-enhancements) +* [Pull Requests](#pull-requests) + +[Styleguides](#styleguides) + +* [Git Commit Messages](#git-commit-messages) +* [Golang Styleguide](#golang-styleguide) +* [Documentation Styleguide](#documentation-styleguide) + +## Code of Conduct + +This project and everyone participating in it is governed by the [Event Horizon Code of Conduct](CODE_OF_CONDUCT.md). By participating, you are expected to uphold this code. Please report unacceptable behavior to [looplab@github.com](mailto:eventhorizon@looplab.se). + +## How Can I Contribute? + +### Reporting Bugs + +If you find a bug report it by creating a new Github issue. + +> **Note:** If you find a **Closed** issue that seems like it is the same thing that you're experiencing, open a new issue and include a link to the original issue in the body of your new one. + +### Suggesting Enhancements + +* Create a new issue with a feature suggestion to discuss it further. +* Join our [slack channel](https://gophers.slack.com/messages/eventhorizon/) (sign up [here](https://gophersinvite.herokuapp.com/)) + +### Pull Requests + +* Fill in [the required template](PULL_REQUEST_TEMPLATE.md) +* Follow the [Golang Styleguide](#golang-styleguide) +* Document new code based on the [Documentation Styleguide](#documentation-styleguide) +* End all files with a newline + +## Styleguides + +### Git Commit Messages + +* Use the present tense ("Add feature" not "Added feature") +* Use the imperative mood ("Move cursor to..." not "Moves cursor to...") +* Limit the first line to 72 characters or less +* Reference issues and pull requests liberally after the first line + +### Golang Styleguide + +All Golang code should adhere to [Go Code Review Comments](https://github.com/golang/go/wiki/CodeReviewComments). Package imports should be ordered with a blank line between each block: + +* stdlib +* 3rd party +* internal + +### Documentation Styleguide + +Documentation should be provided in the Godoc format in the source files for all public interfaces. Other documentation should be written as Markdown files in the `docs` folder. diff --git a/PULL_REQUEST_TEMPLATE.md b/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000..766ba835 --- /dev/null +++ b/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,9 @@ +# Summary + +# How to test + +# Issue + +Fixes #. + +# Notes diff --git a/README.md b/README.md index 242ba314..e3f50463 100644 --- a/README.md +++ b/README.md @@ -3,12 +3,11 @@ [![GoDoc](https://godoc.org/github.com/looplab/eventhorizon?status.svg)](https://godoc.org/github.com/looplab/eventhorizon) [![Go Report Card](https://goreportcard.com/badge/looplab/eventhorizon)](https://goreportcard.com/report/looplab/eventhorizon) - # Event Horizon Event Horizon is a CQRS/ES toolkit for Go. -**Event Horizon is used in at least one production system but may not be considered stable just yet!** +**NOTE: Event Horizon is used in production systems but the API is not final!** CQRS stands for Command Query Responsibility Segregation and is a technique where object access (the Query part) and modification (the Command part) are separated from each other. This helps in designing complex data models where the actions can be totally independent from the data output. @@ -18,38 +17,59 @@ Read more about CQRS/ES from one of the major authors/contributors on the subjec Other material on CQRS/ES: -- http://martinfowler.com/bliki/CQRS.html -- http://cqrs.nu -- https://groups.google.com/forum/#!forum/dddcqrs +* http://martinfowler.com/bliki/CQRS.html +* http://cqrs.nu +* https://groups.google.com/forum/#!forum/dddcqrs Inspired by the following libraries/examples: -- https://github.com/edumentab/cqrs-starter-kit -- https://github.com/pjvds/go-cqrs -- http://www.codeproject.com/Articles/555855/Introduction-to-CQRS -- https://github.com/qandidate-labs/broadway +* https://github.com/edumentab/cqrs-starter-kit +* https://github.com/pjvds/go-cqrs +* http://www.codeproject.com/Articles/555855/Introduction-to-CQRS +* https://github.com/qandidate-labs/broadway Suggestions are welcome! - # Usage -See the example folder for a basic usage example to get you started. +See the example folder for a few examples to get you started. +# Storage drivers -# Storage and messaging implementations +These are the drivers for storage of events and entities. -There are simple in memory implementations of all components in the toolkit (event store, read repository, event bus, command bus). Most of these are meant for testing and development, the command bus (and in some cases the event bus) could however fulfill the needs of a production system. +### Local / in memory -In addition there is MongoDB implementations of the event store and a simple read repository, and a Redis implementation of the event bus. +There are simple in memory implementations of an event store and entity repo. These are meant for testing/experimentation. -There is also experimental support for AWS DynamoDB as an event store. Support for a event bus using AWS SQS is also planned but not started. +### MongoDB +Fairly mature, used in production. -# Get Involved +### AWS DynamoDB + +Experimental support for AWS DynamoDB as an event store. Not actively developed. + +# Messaging drivers + +These are the drivers for messaging, currently only publishers. + +### Local / in memory -- Join our [slack channel](https://gophers.slack.com/messages/eventhorizon/) (sign up [here](https://gophersinvite.herokuapp.com/)) +Fully synchrounos. Useful for testing/experimentation. + +### Redis + +Fairly mature, used in production. + +### GCP Cloud Pub/Sub + +Experimental driver. + +# Get Involved +* Join our [slack channel](https://gophers.slack.com/messages/eventhorizon/) (sign up [here](https://gophersinvite.herokuapp.com/)) +* Check out the [contribution guidelines](CONTRIBUTING.md) # License diff --git a/aggregate.go b/aggregate.go index fe84f5b9..0a14ccac 100644 --- a/aggregate.go +++ b/aggregate.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/aggregate_test.go b/aggregate_test.go index e5c27764..b15ceae6 100644 --- a/aggregate_test.go +++ b/aggregate_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/aggregatestore/events/aggregatebase.go b/aggregatestore/events/aggregatebase.go index 521c453d..145199bf 100644 --- a/aggregatestore/events/aggregatebase.go +++ b/aggregatestore/events/aggregatebase.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/aggregatestore/events/aggregatebase_test.go b/aggregatestore/events/aggregatebase_test.go index 757ca2ea..741ff451 100644 --- a/aggregatestore/events/aggregatebase_test.go +++ b/aggregatestore/events/aggregatebase_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/aggregatestore/events/aggregatestore.go b/aggregatestore/events/aggregatestore.go index 3bc70e25..80ab70fb 100644 --- a/aggregatestore/events/aggregatestore.go +++ b/aggregatestore/events/aggregatestore.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/aggregatestore/events/aggregatestore_test.go b/aggregatestore/events/aggregatestore_test.go index af5eac14..1fdd1e39 100644 --- a/aggregatestore/events/aggregatestore_test.go +++ b/aggregatestore/events/aggregatestore_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/aggregatestore/model/aggregatestore.go b/aggregatestore/model/aggregatestore.go index 46f1030b..30fc0a89 100644 --- a/aggregatestore/model/aggregatestore.go +++ b/aggregatestore/model/aggregatestore.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/aggregatestore/model/aggregatestore_test.go b/aggregatestore/model/aggregatestore_test.go index f9ca681c..d6d9dec4 100644 --- a/aggregatestore/model/aggregatestore_test.go +++ b/aggregatestore/model/aggregatestore_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/aggregatestore/model/eventpublisher.go b/aggregatestore/model/eventpublisher.go index 98726036..b0940410 100644 --- a/aggregatestore/model/eventpublisher.go +++ b/aggregatestore/model/eventpublisher.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/command.go b/command.go index 94fe1630..f5ff39d1 100644 --- a/command.go +++ b/command.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/command_test.go b/command_test.go index 0071718e..ac2d9498 100644 --- a/command_test.go +++ b/command_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016 - Max Ekman +// Copyright (c) 2016 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/commandhandler.go b/commandhandler.go index 0741b526..7c73c7fe 100644 --- a/commandhandler.go +++ b/commandhandler.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/commandhandler/aggregate/commandhandler.go b/commandhandler/aggregate/commandhandler.go index 2b3faa71..f9b8b203 100644 --- a/commandhandler/aggregate/commandhandler.go +++ b/commandhandler/aggregate/commandhandler.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/commandhandler/aggregate/commandhandler_test.go b/commandhandler/aggregate/commandhandler_test.go index c57e561c..92a8429c 100644 --- a/commandhandler/aggregate/commandhandler_test.go +++ b/commandhandler/aggregate/commandhandler_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/commandhandler/bus/commandhandler.go b/commandhandler/bus/commandhandler.go index 61a279a9..e4832278 100644 --- a/commandhandler/bus/commandhandler.go +++ b/commandhandler/bus/commandhandler.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/commandhandler/bus/commandhandler_test.go b/commandhandler/bus/commandhandler_test.go index 6ed0529b..f72ee5d9 100644 --- a/commandhandler/bus/commandhandler_test.go +++ b/commandhandler/bus/commandhandler_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/commandhandler_test.go b/commandhandler_test.go index fde4b786..ad3dc70c 100644 --- a/commandhandler_test.go +++ b/commandhandler_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2018 - Max Ekman +// Copyright (c) 2018 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/context.go b/context.go index 8bb2c2e0..1824714d 100644 --- a/context.go +++ b/context.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/context_test.go b/context_test.go index d3ff5853..bfd6d5b5 100644 --- a/context_test.go +++ b/context_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016 - Max Ekman +// Copyright (c) 2016 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/entity.go b/entity.go index e0825095..6fbaf4f8 100644 --- a/entity.go +++ b/entity.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/event.go b/event.go index fcf0e2ff..f3a9ebe7 100644 --- a/event.go +++ b/event.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/event_test.go b/event_test.go index c607c0c7..a7b1c4bb 100644 --- a/event_test.go +++ b/event_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016 - Max Ekman +// Copyright (c) 2016 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventbus.go b/eventbus.go index afb8bf5f..db8644b7 100644 --- a/eventbus.go +++ b/eventbus.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventbus/local/eventbus.go b/eventbus/local/eventbus.go index 6b842740..f4d0dfd4 100644 --- a/eventbus/local/eventbus.go +++ b/eventbus/local/eventbus.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventbus/local/eventbus_test.go b/eventbus/local/eventbus_test.go index 037b406b..80e430ec 100644 --- a/eventbus/local/eventbus_test.go +++ b/eventbus/local/eventbus_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventhandler.go b/eventhandler.go index acf0abb1..1bf10733 100644 --- a/eventhandler.go +++ b/eventhandler.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventhandler/cron/eventhandler.go b/eventhandler/cron/eventhandler.go index 71fec760..662c2099 100644 --- a/eventhandler/cron/eventhandler.go +++ b/eventhandler/cron/eventhandler.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventhandler/cron/eventhandler_test.go b/eventhandler/cron/eventhandler_test.go index 5f1b815b..fa1e222e 100644 --- a/eventhandler/cron/eventhandler_test.go +++ b/eventhandler/cron/eventhandler_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventhandler/projector/eventhandler.go b/eventhandler/projector/eventhandler.go index 5b4a7f0a..71ecb86c 100644 --- a/eventhandler/projector/eventhandler.go +++ b/eventhandler/projector/eventhandler.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventhandler/projector/eventhandler_test.go b/eventhandler/projector/eventhandler_test.go index d36cc3d0..1e89402d 100644 --- a/eventhandler/projector/eventhandler_test.go +++ b/eventhandler/projector/eventhandler_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventhandler/saga/eventhandler.go b/eventhandler/saga/eventhandler.go index 9e3df8f2..93c4c930 100644 --- a/eventhandler/saga/eventhandler.go +++ b/eventhandler/saga/eventhandler.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016 - Max Ekman +// Copyright (c) 2016 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventhandler/saga/eventhandler_test.go b/eventhandler/saga/eventhandler_test.go index 0b4504d1..4e5a5f66 100644 --- a/eventhandler/saga/eventhandler_test.go +++ b/eventhandler/saga/eventhandler_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016 - Max Ekman +// Copyright (c) 2016 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventhandler_test.go b/eventhandler_test.go index 234bec32..25720448 100644 --- a/eventhandler_test.go +++ b/eventhandler_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2018 - Max Ekman +// Copyright (c) 2018 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventstore.go b/eventstore.go index 29cd2693..e0c1506a 100644 --- a/eventstore.go +++ b/eventstore.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventstore/dynamodb/eventstore.go b/eventstore/dynamodb/eventstore.go index f80fea7a..cbf74137 100644 --- a/eventstore/dynamodb/eventstore.go +++ b/eventstore/dynamodb/eventstore.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016 - Max Ekman +// Copyright (c) 2016 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventstore/dynamodb/eventstore_integration_test.go b/eventstore/dynamodb/eventstore_integration_test.go index 8a343af6..d0813892 100644 --- a/eventstore/dynamodb/eventstore_integration_test.go +++ b/eventstore/dynamodb/eventstore_integration_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016 - Max Ekman +// Copyright (c) 2016 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventstore/dynamodb/eventstore_local_test.go b/eventstore/dynamodb/eventstore_local_test.go index 93257fc2..e721414c 100644 --- a/eventstore/dynamodb/eventstore_local_test.go +++ b/eventstore/dynamodb/eventstore_local_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016 - Max Ekman +// Copyright (c) 2016 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventstore/dynamodb/eventstore_test.go b/eventstore/dynamodb/eventstore_test.go index 0b7be74a..e8de1506 100644 --- a/eventstore/dynamodb/eventstore_test.go +++ b/eventstore/dynamodb/eventstore_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016 - Max Ekman +// Copyright (c) 2016 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventstore/memory/eventstore.go b/eventstore/memory/eventstore.go index 10f410d2..fbc07197 100644 --- a/eventstore/memory/eventstore.go +++ b/eventstore/memory/eventstore.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventstore/memory/eventstore_test.go b/eventstore/memory/eventstore_test.go index 3dea57ac..dd10add7 100644 --- a/eventstore/memory/eventstore_test.go +++ b/eventstore/memory/eventstore_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventstore/mongodb/eventstore.go b/eventstore/mongodb/eventstore.go index 55335347..0dc80be2 100644 --- a/eventstore/mongodb/eventstore.go +++ b/eventstore/mongodb/eventstore.go @@ -1,4 +1,4 @@ -// Copyright (c) 2015 - Max Ekman +// Copyright (c) 2015 - The Event Horizon authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventstore/mongodb/eventstore_test.go b/eventstore/mongodb/eventstore_test.go index b10208de..21af28ab 100644 --- a/eventstore/mongodb/eventstore_test.go +++ b/eventstore/mongodb/eventstore_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2015 - Max Ekman +// Copyright (c) 2015 - The Event Horizon authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventstore/testutil/common_tests.go b/eventstore/testutil/common_tests.go index 0d762cc2..88e865b3 100644 --- a/eventstore/testutil/common_tests.go +++ b/eventstore/testutil/common_tests.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016 - Max Ekman +// Copyright (c) 2016 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventstore/trace/eventstore.go b/eventstore/trace/eventstore.go index e3a7add7..a4430878 100644 --- a/eventstore/trace/eventstore.go +++ b/eventstore/trace/eventstore.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/eventstore/trace/eventstore_test.go b/eventstore/trace/eventstore_test.go index c621ac1f..e8be8e88 100644 --- a/eventstore/trace/eventstore_test.go +++ b/eventstore/trace/eventstore_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/guestlist/domain/aggregate.go b/examples/guestlist/domain/aggregate.go index 1be6b42f..a57e2108 100644 --- a/examples/guestlist/domain/aggregate.go +++ b/examples/guestlist/domain/aggregate.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/guestlist/domain/commands.go b/examples/guestlist/domain/commands.go index 4deaa1bc..964b3fd6 100644 --- a/examples/guestlist/domain/commands.go +++ b/examples/guestlist/domain/commands.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/guestlist/domain/events.go b/examples/guestlist/domain/events.go index afc93a2b..e7bbb814 100644 --- a/examples/guestlist/domain/events.go +++ b/examples/guestlist/domain/events.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/guestlist/domain/logger.go b/examples/guestlist/domain/logger.go index e582f194..05788e47 100644 --- a/examples/guestlist/domain/logger.go +++ b/examples/guestlist/domain/logger.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016 - Max Ekman +// Copyright (c) 2016 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/guestlist/domain/projectors.go b/examples/guestlist/domain/projectors.go index 189a00c0..fba806c9 100644 --- a/examples/guestlist/domain/projectors.go +++ b/examples/guestlist/domain/projectors.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/guestlist/domain/saga.go b/examples/guestlist/domain/saga.go index 612e4c1b..595588ac 100644 --- a/examples/guestlist/domain/saga.go +++ b/examples/guestlist/domain/saga.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/guestlist/domain/setup.go b/examples/guestlist/domain/setup.go index fdf37cbc..4ce7c4a6 100644 --- a/examples/guestlist/domain/setup.go +++ b/examples/guestlist/domain/setup.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/guestlist/memory/memory.go b/examples/guestlist/memory/memory.go index d24fa81d..e31e1ff6 100644 --- a/examples/guestlist/memory/memory.go +++ b/examples/guestlist/memory/memory.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/guestlist/memory/memory_test.go b/examples/guestlist/memory/memory_test.go index 39497cda..f7aa1375 100644 --- a/examples/guestlist/memory/memory_test.go +++ b/examples/guestlist/memory/memory_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/guestlist/mongodb/mongodb.go b/examples/guestlist/mongodb/mongodb.go index 9818ca86..c4d23fca 100644 --- a/examples/guestlist/mongodb/mongodb.go +++ b/examples/guestlist/mongodb/mongodb.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/guestlist/mongodb/mongodb_test.go b/examples/guestlist/mongodb/mongodb_test.go index 499f4633..654c0859 100644 --- a/examples/guestlist/mongodb/mongodb_test.go +++ b/examples/guestlist/mongodb/mongodb_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/todomvc/handler.go b/examples/todomvc/handler.go index 254c0d4e..13567f22 100644 --- a/examples/todomvc/handler.go +++ b/examples/todomvc/handler.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/todomvc/handler_test.go b/examples/todomvc/handler_test.go index 1bb800c7..0e9d73ba 100644 --- a/examples/todomvc/handler_test.go +++ b/examples/todomvc/handler_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/todomvc/internal/domain/aggregate.go b/examples/todomvc/internal/domain/aggregate.go index 8c756fca..301f2cd3 100644 --- a/examples/todomvc/internal/domain/aggregate.go +++ b/examples/todomvc/internal/domain/aggregate.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/todomvc/internal/domain/aggregate_test.go b/examples/todomvc/internal/domain/aggregate_test.go index 06e580a0..3d2dbe00 100644 --- a/examples/todomvc/internal/domain/aggregate_test.go +++ b/examples/todomvc/internal/domain/aggregate_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/todomvc/internal/domain/commands.go b/examples/todomvc/internal/domain/commands.go index 9caab4e2..bbf500af 100644 --- a/examples/todomvc/internal/domain/commands.go +++ b/examples/todomvc/internal/domain/commands.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/todomvc/internal/domain/events.go b/examples/todomvc/internal/domain/events.go index e50619c5..c45f7ec4 100644 --- a/examples/todomvc/internal/domain/events.go +++ b/examples/todomvc/internal/domain/events.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/todomvc/internal/domain/model.go b/examples/todomvc/internal/domain/model.go index 6a1fb49b..d9fdb7b5 100644 --- a/examples/todomvc/internal/domain/model.go +++ b/examples/todomvc/internal/domain/model.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/todomvc/internal/domain/model_test.go b/examples/todomvc/internal/domain/model_test.go index 112c1dea..053554b0 100644 --- a/examples/todomvc/internal/domain/model_test.go +++ b/examples/todomvc/internal/domain/model_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/todomvc/internal/domain/projector.go b/examples/todomvc/internal/domain/projector.go index 7bd05a46..89cece37 100644 --- a/examples/todomvc/internal/domain/projector.go +++ b/examples/todomvc/internal/domain/projector.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/todomvc/internal/domain/projector_test.go b/examples/todomvc/internal/domain/projector_test.go index 500a84c5..99bc5016 100644 --- a/examples/todomvc/internal/domain/projector_test.go +++ b/examples/todomvc/internal/domain/projector_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/examples/todomvc/main.go b/examples/todomvc/main.go index 7bc6bbf0..09e673d0 100644 --- a/examples/todomvc/main.go +++ b/examples/todomvc/main.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/httputils/command.go b/httputils/command.go index 6ef3733e..d71bd4f4 100644 --- a/httputils/command.go +++ b/httputils/command.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/httputils/eventbus.go b/httputils/eventbus.go index 3483a34d..81244860 100644 --- a/httputils/eventbus.go +++ b/httputils/eventbus.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/httputils/query.go b/httputils/query.go index f5011b5a..e51cf7c4 100644 --- a/httputils/query.go +++ b/httputils/query.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/matcher.go b/matcher.go index 3fddf3a8..fcf28e1d 100644 --- a/matcher.go +++ b/matcher.go @@ -1,4 +1,4 @@ -// Copyright (c) 2018 - Max Ekman +// Copyright (c) 2018 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/matcher_test.go b/matcher_test.go index 69c73d9c..5a13bb9d 100644 --- a/matcher_test.go +++ b/matcher_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2018 - Max Ekman +// Copyright (c) 2018 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/middleware/commandhandler/async/commandhandler.go b/middleware/commandhandler/async/commandhandler.go index ade910ed..5ef7d305 100644 --- a/middleware/commandhandler/async/commandhandler.go +++ b/middleware/commandhandler/async/commandhandler.go @@ -1,4 +1,4 @@ -// Copyright (c) 2018 - Max Ekman +// Copyright (c) 2018 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/middleware/commandhandler/async/commandhandler_test.go b/middleware/commandhandler/async/commandhandler_test.go index b80d1300..abad62ce 100644 --- a/middleware/commandhandler/async/commandhandler_test.go +++ b/middleware/commandhandler/async/commandhandler_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2018 - Max Ekman +// Copyright (c) 2018 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/middleware/commandhandler/scheduler/commandhandler.go b/middleware/commandhandler/scheduler/commandhandler.go index 23d90178..bd921c9c 100644 --- a/middleware/commandhandler/scheduler/commandhandler.go +++ b/middleware/commandhandler/scheduler/commandhandler.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/middleware/commandhandler/scheduler/commandhandler_test.go b/middleware/commandhandler/scheduler/commandhandler_test.go index 9e75fd22..d3401ec7 100644 --- a/middleware/commandhandler/scheduler/commandhandler_test.go +++ b/middleware/commandhandler/scheduler/commandhandler_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/middleware/eventhandler/async/eventhandler.go b/middleware/eventhandler/async/eventhandler.go index 14de7334..89fcea32 100644 --- a/middleware/eventhandler/async/eventhandler.go +++ b/middleware/eventhandler/async/eventhandler.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/middleware/eventhandler/async/eventhandler_test.go b/middleware/eventhandler/async/eventhandler_test.go index ec0f5540..e686b716 100644 --- a/middleware/eventhandler/async/eventhandler_test.go +++ b/middleware/eventhandler/async/eventhandler_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/mocks/mocks.go b/mocks/mocks.go index b032376a..037ef84b 100644 --- a/mocks/mocks.go +++ b/mocks/mocks.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/mocks/mocks_test.go b/mocks/mocks_test.go index 093b737c..f93e5039 100644 --- a/mocks/mocks_test.go +++ b/mocks/mocks_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/mocks/testutils.go b/mocks/testutils.go index 585c860f..be3d06d4 100644 --- a/mocks/testutils.go +++ b/mocks/testutils.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/publisher.go b/publisher.go index eb8e2522..e6edb311 100644 --- a/publisher.go +++ b/publisher.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/publisher/gcp/publisher.go b/publisher/gcp/publisher.go index f6204bc6..6a54685f 100644 --- a/publisher/gcp/publisher.go +++ b/publisher/gcp/publisher.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/publisher/gcp/publisher_test.go b/publisher/gcp/publisher_test.go index 3b7d3a1d..903bb175 100644 --- a/publisher/gcp/publisher_test.go +++ b/publisher/gcp/publisher_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/publisher/local/publisher.go b/publisher/local/publisher.go index 45fb46ec..e50c92ae 100644 --- a/publisher/local/publisher.go +++ b/publisher/local/publisher.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/publisher/local/publisher_test.go b/publisher/local/publisher_test.go index 7b41d8ae..2aa99a7e 100644 --- a/publisher/local/publisher_test.go +++ b/publisher/local/publisher_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/publisher/redis/publisher.go b/publisher/redis/publisher.go index 1bbb233e..0b9c6698 100644 --- a/publisher/redis/publisher.go +++ b/publisher/redis/publisher.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/publisher/redis/publisher_test.go b/publisher/redis/publisher_test.go index a8b2ad33..5cacd4b5 100644 --- a/publisher/redis/publisher_test.go +++ b/publisher/redis/publisher_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/publisher/testutil/common_tests.go b/publisher/testutil/common_tests.go index f510f9e1..8b917426 100644 --- a/publisher/testutil/common_tests.go +++ b/publisher/testutil/common_tests.go @@ -1,4 +1,4 @@ -// Copyright (c) 2016 - Max Ekman +// Copyright (c) 2016 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/repo.go b/repo.go index 9615cafe..8bd6df79 100644 --- a/repo.go +++ b/repo.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/repo/cache/repo.go b/repo/cache/repo.go index 683686d7..1354f75d 100644 --- a/repo/cache/repo.go +++ b/repo/cache/repo.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/repo/cache/repo_test.go b/repo/cache/repo_test.go index 5275a481..eb0c1042 100644 --- a/repo/cache/repo_test.go +++ b/repo/cache/repo_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/repo/memory/repo.go b/repo/memory/repo.go index fda74362..bb71122c 100644 --- a/repo/memory/repo.go +++ b/repo/memory/repo.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/repo/memory/repo_test.go b/repo/memory/repo_test.go index acbcfc41..6e311ac4 100644 --- a/repo/memory/repo_test.go +++ b/repo/memory/repo_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/repo/mongodb/repo.go b/repo/mongodb/repo.go index d7306bcf..a73d1a36 100644 --- a/repo/mongodb/repo.go +++ b/repo/mongodb/repo.go @@ -1,4 +1,4 @@ -// Copyright (c) 2015 - Max Ekman +// Copyright (c) 2015 - The Event Horizon authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/repo/mongodb/repo_test.go b/repo/mongodb/repo_test.go index 6f5b4925..5252fcda 100644 --- a/repo/mongodb/repo_test.go +++ b/repo/mongodb/repo_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2015 - Max Ekman +// Copyright (c) 2015 - The Event Horizon authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/repo/testutil/common_tests.go b/repo/testutil/common_tests.go index 4ba905a6..e6bf55c0 100644 --- a/repo/testutil/common_tests.go +++ b/repo/testutil/common_tests.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/repo/version/repo.go b/repo/version/repo.go index d6aa6c83..ede485af 100644 --- a/repo/version/repo.go +++ b/repo/version/repo.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/repo/version/repo_test.go b/repo/version/repo_test.go index 8b290e48..6afe8e25 100644 --- a/repo/version/repo_test.go +++ b/repo/version/repo_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/utils/eventwaiter.go b/utils/eventwaiter.go index 6b9443d6..0357a5f0 100644 --- a/utils/eventwaiter.go +++ b/utils/eventwaiter.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -105,8 +105,8 @@ func (l *EventListener) Wait(ctx context.Context) (eh.Event, error) { } // Inbox returns the channel that events will be delivered on so that you can integrate into your own select() if needed. -func (l *EventListener) Inbox() (<-chan eh.Event) { - return l.inbox +func (l *EventListener) Inbox() <-chan eh.Event { + return l.inbox } // Close stops listening for more events. diff --git a/utils/eventwaiter_test.go b/utils/eventwaiter_test.go index a5e758c8..e14a4e22 100644 --- a/utils/eventwaiter_test.go +++ b/utils/eventwaiter_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2017 - Max Ekman +// Copyright (c) 2017 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/uuid.go b/uuid.go index 60e225d5..34227c37 100644 --- a/uuid.go +++ b/uuid.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/uuid_test.go b/uuid_test.go index 82be726b..308fc730 100644 --- a/uuid_test.go +++ b/uuid_test.go @@ -1,4 +1,4 @@ -// Copyright (c) 2014 - Max Ekman +// Copyright (c) 2014 - The Event Horizon authors. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.