Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DBリフレッシュAPI #64

Open
ras0q opened this issue Jul 8, 2021 · 2 comments
Open

DBリフレッシュAPI #64

ras0q opened this issue Jul 8, 2021 · 2 comments

Comments

@ras0q
Copy link
Member

ras0q commented Jul 8, 2021

管理者権限でほしい
DBになにかあったときのため

@ras0q
Copy link
Member Author

ras0q commented Sep 30, 2021

やります

@ras0q ras0q self-assigned this Sep 30, 2021
@ras0q
Copy link
Member Author

ras0q commented Sep 30, 2021

↓のMessageID取得するの最低でもtraQのAPI10回くらい叩かないといけなくて厳しいかも

type File struct {
	ID             string    `json:"id"  db:"id"`
	Title          string    `json:"title"  db:"title"`
	ComposerID     string    `json:"composer_id"  db:"composer_id"`
	ComposerName   string    `json:"composer_name"  db:"composer_name"`
	MessageID      string    `json:"message_id"  db:"message_id"`
	FavoriteCount  int       `json:"favorite_count"  db:"-"`
	IsFavoriteByMe bool      `json:"is_favorite_by_me"  db:"-"`
	CreatedAt      time.Time `json:"created_at"  db:"created_at"`
}

@ras0q ras0q removed their assignment Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant