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

日本語環境用のカスタムValidate機能を追加する #37

Open
tgoikawa opened this issue Nov 22, 2019 · 4 comments
Open

日本語環境用のカスタムValidate機能を追加する #37

tgoikawa opened this issue Nov 22, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@tgoikawa
Copy link
Contributor

go-playground/validator の機能を元に、デフォルトで提供されているValidator以外に日本語環境で必要とされるValidatorを作っていく。
現段階であったほうが良いと思われるValidatorは以下。

  • カナのみ
  • かなのみ
  • 半角カナのみ
  • 半角カナ禁止
  • SJISで使用可能な文字のみ
  • 英数字禁止
@ryutah
Copy link
Contributor

ryutah commented Nov 22, 2019

「全角のみ」みたいなのもたまに見るかも

@tgoikawa
Copy link
Contributor Author

全角のみってなにが入るんですかね

@ryutah
Copy link
Contributor

ryutah commented Nov 22, 2019

あアa1みたいなの?

@tgoikawa
Copy link
Contributor Author

え・・・いる?

@tgoikawa tgoikawa added the enhancement New feature or request label Nov 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants