Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateUser ¶
type CreateUser struct { Email string `json:"email" label:"メールアドレス" validate:"required,email,max=256"` Password string `json:"password" label:"パスワード" validate:"required,password,min=6,max=32"` PasswordConfirmation string `json:"passwordConfirmation" label:"パスワード(確認用)" validate:"required,eqfield=Password"` }
CreateUser - ユーザー登録APIのリクエスト
type UpdateProfile ¶
type UpdateProfile struct { Name string `json:"name" label:"氏名" validate:"required,max=32"` DisplayName string `json:"displayName" label:"表示名" validate:"required,max=32"` Email string `json:"email" label:"メールアドレス" validate:"required,email,max=256"` PhoneNumber string `json:"phoneNumber" label:"電話番号" validate:"max=13"` Thumbnail string `json:"thumbnail" label:"サムネイル"` Biography string `json:"biography" label:"自己紹介" validate:"max=256"` }
UpdateProfile - ログインユーザー編集APIのリクエスト TODO: Add Password, PhoneNumber(regex)
Click to show internal directories.
Click to hide internal directories.