Skip to content

Commit

Permalink
refactor: data objectを使用するようにした
Browse files Browse the repository at this point in the history
  • Loading branch information
pantasystem committed Jan 14, 2024
1 parent 17776ca commit b47acca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ package net.pantasystem.milktea.model.note

sealed interface NoteResult {
data class Success(val note: Note) : NoteResult
object NotFound : NoteResult
object Deleted : NoteResult
data object NotFound : NoteResult
data object Deleted : NoteResult
}

0 comments on commit b47acca

Please sign in to comment.