Skip to content

Commit

Permalink
modify readme, add go awesome link
Browse files Browse the repository at this point in the history
  • Loading branch information
TATAUFO committed Feb 1, 2020
1 parent e4ed296 commit 087dd53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ go-pdu
[![License](https://img.shields.io/badge/license-GPL%20v3-blue.svg)](LICENSE)
[![Chat](https://img.shields.io/badge/gitter-Docs%20chat-4AB495.svg)](https://gitter.im/pdupub/go-pdu)
[![Coverage Status](https://coveralls.io/repos/github/pdupub/go-pdu/badge.svg?branch=master)](https://coveralls.io/github/pdupub/go-pdu?branch=master)
[![Mentioned in Awesome Go](https://awesome.re/mentioned-badge.svg)](https://github.com/avelino/awesome-go#distributed-systems)

Golang implementation of PDU.

Expand Down
7 changes: 4 additions & 3 deletions core/universe.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"encoding/json"
"errors"
"fmt"

"github.com/pdupub/go-pdu/common"
"github.com/pdupub/go-pdu/core/rule"
"github.com/pdupub/go-pdu/dag"
Expand Down Expand Up @@ -68,9 +69,9 @@ type SpaceTime struct {

// Universe contain many space time on different time line
type Universe struct {
msgD *dag.DAG `json:"messageDAG"` // contain all messages valid in any universe (time proof)
userD *dag.DAG `json:"userDAG"` // contain all users valid in any universe (time proof)
stD *dag.DAG `json:"spaceTimeDAG"` // contain all space time, which is the origin thought of PDU
msgD *dag.DAG // contain all messages valid in any universe (time proof)
userD *dag.DAG // contain all users valid in any universe (time proof)
stD *dag.DAG // contain all space time, which is the origin thought of PDU
}

// NewUniverse create Universe from two user with diff gender
Expand Down

0 comments on commit 087dd53

Please sign in to comment.