library-go/utils/invited_code/usecase.go

7 lines
141 B
Go

package invited_code
type ConvertUseCase interface {
EncodeFromNum(id int64) (string, error)
DecodeFromCode(code string) (int64, error)
}