Permalink
Browse files

chore: moved Session to UserSession + small protobuf refactors

  • Loading branch information...
moul committed Jan 10, 2019
1 parent e3cb38b commit 82c530f930a8e95a3930b41ff6e2a276bca11b74

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -5,11 +5,15 @@ package pathwar.entity;
option go_package = "pathwar.pw/entity";

import "github.com/gogo/protobuf/gogoproto/gogo.proto";
import "entity/metadata.proto";
import "entity/session.proto";
// import "entity/metadata.proto";
import "entity/user_session.proto";
import "entity/level.proto";

message Dump {
repeated Session sessions = 1;
//
// associations
//

repeated UserSession user_sessions = 1;
repeated Level levels = 2;
}
@@ -3,6 +3,6 @@ package entity
func All() []interface{} {
return []interface{}{
Level{},
Session{},
UserSession{},
}
}

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 82c530f

Please sign in to comment.