LCOV - code coverage report
Current view: top level - domain/entity - user.go Coverage Total Hit
Test: coverage.lcov Lines: 0.0 % 3 0
Test Date: 2026-04-14 06:42:22 Functions: - 0 0

            Line data    Source code
       1              : // Package entity はユーザー関連のドメインエンティティを定義します。
       2              : package entity
       3              : 
       4              : import "time"
       5              : 
       6              : // User はユーザーを表すドメインエンティティです。
       7              : type User struct {
       8              :         ID            uint64  `json:"id" gorm:"primary_key"`
       9              :         UID           string  `json:"uid"`
      10              :         Email         *string `json:"email" gorm:"uniqueIndex"`
      11              :         EmailVerified bool    `json:"email_verified"`
      12              :         DisplayName   *string `json:"display_name"`
      13              :         PhotoURL      *string `json:"photo_url"`
      14              :         Disabled      bool    `json:"disabled"`
      15              :         LastLoginAt   *time.Time
      16              :         CreatedAt     time.Time
      17              :         UpdatedAt     time.Time
      18              :         DeletedAt     *time.Time
      19              : }
      20              : 
      21              : // TableName golang-migrate で users を作っている前提に合わせる
      22            0 : func (User) TableName() string {
      23            0 :         return "users"
      24            0 : }
        

Generated by: LCOV version 2.3.1-1