Compare commits
No commits in common. "bd4d86a2df0b0db93b333b12aa212e989cb507b8" and "f5ce5468a8e83320b90a0fe2c50930a15023a3d6" have entirely different histories.
bd4d86a2df
...
f5ce5468a8
@ -7,7 +7,6 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
type Session struct {
|
type Session struct {
|
||||||
SessionId string
|
|
||||||
GameId string
|
GameId string
|
||||||
Icon string
|
Icon string
|
||||||
Title string
|
Title string
|
||||||
|
@ -44,13 +44,3 @@ var FakeSessions = Sessions{
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
func FindSessionByID(sessionId string, sessions []Session) Session {
|
|
||||||
for _, session := range sessions {
|
|
||||||
if session.SessionId == sessionId {
|
|
||||||
return session
|
|
||||||
}
|
|
||||||
}
|
|
||||||
var temp Session = Session{}
|
|
||||||
return temp
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user