tldr-development / go-grpc

Go와 gRPC를 GCP에서 간단하게 서비스 하기 위한 프레임워크 구성
1 stars 0 forks source link

계정 정보 구조체 샘플 (멀티 플랫폼 로그인 연동, 계정, 플랫폼, 프로필) #14

Closed hojin-kr closed 7 months ago

hojin-kr commented 7 months ago
hojin-kr commented 7 months ago
type Account struct {
    UUID          string // uuid
    DeviceAppUUID string // device app uuid
    CreatedAt     int64  // created at
}

type Platform struct {
    UUID     string // Account uuid
    Token    string // platform token
    Platform string // platform name (ex. github, google, kakao)
}

type Profile struct {
    UUID   string // Account uuid
    Name   string // name
    Desc   string // description
    ImgURL string // img url
}
hojin-kr commented 7 months ago

Account UUID로 계정 식별