Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: change OptionType to alias for usage as string#377

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Emyrk merged 1 commit intomainfromsteven/alias
Apr 9, 2025

Conversation

Emyrk
Copy link
Member

To be backwards compatible using this repo as a library, use a string alias. This allows using the 'type' as astring or the new enum. Since enum validation is quite weak in Go, this is baiscally functionally equvialent.

This fixes a compile time issue incoder/coder when using the latest of this repo.

To be backwards compatible using this repo as a library, use a stringalias. This allows using the 'type' as a `string` or the new enum.Since enum validation is quite weak in Go, this is baiscallyfunctionally equvialent.
@EmyrkEmyrk requested a review fromdannykoppingApril 9, 2025 13:55
@EmyrkEmyrk merged commitd90c181 intomainApr 9, 2025
6 checks passed
@EmyrkEmyrk deleted the steven/alias branchApril 9, 2025 14:04
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsApr 9, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@dannykoppingdannykoppingdannykopping approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@Emyrk@dannykopping

[8]ページ先頭

©2009-2025 Movatter.jp