mirror of
https://github.com/fumiama/paper-manager.git
synced 2026-06-29 07:10:28 +08:00
finish chkdup
This commit is contained in:
@@ -103,7 +103,7 @@ func (f *FileDatabase) GetQuestion(id int64, istemp bool) (Question, error) {
|
||||
}
|
||||
|
||||
// GetQuestionHex by hexid
|
||||
func (f *FileDatabase) GetQuestionHex(hexid string, istemp bool) (q Question, err error) {
|
||||
func (f *FileDatabase) GetQuestionByHex(hexid string, istemp bool) (q Question, err error) {
|
||||
idb, err := hex.DecodeString(hexid)
|
||||
if err != nil {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user