Skip to content

enumで設定情報を管理 #28

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

Closed
mochi-yu opened this issue Sep 7, 2023 · 0 comments · Fixed by #45
Closed

enumで設定情報を管理 #28

mochi-yu opened this issue Sep 7, 2023 · 0 comments · Fixed by #45
Assignees

Comments

@mochi-yu
Copy link
Collaborator

mochi-yu commented Sep 7, 2023

          他のpackageでも参照する予定だから、enumパッケージ等作成して(objectでもいいかな)欲しいかも!


type Format int
const(
PrefixFormat Format = itoa
EmojiFormat
)


これを
enum.PrefixFormatみたいに使う感じ
あとentityにも結びつけられたらいいかな

Originally posted by @cocoide in #27 (comment)

@mochi-yu mochi-yu changed the title 他のpackageでも参照する予定だから、enumパッケージ等作成して(objectでもいいかな)欲しいかも! enumで設定情報を管理 Sep 7, 2023
@mochi-yu mochi-yu self-assigned this Sep 7, 2023
@mochi-yu mochi-yu linked a pull request Sep 10, 2023 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant