Skip to content

Commit

Permalink
marc: small simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
boutros committed Sep 16, 2016
1 parent ebc5e8b commit 5b2d571
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions marc/marc.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,14 @@ const (
// String returns a string representation of a Format.
func (f Format) String() string {
switch f {
case unknownFormat:
return "Unknown MARC format"
case MARC:
return "Standard MARC (ISO2709)"
case LineMARC:
return "Line-MARC"
case MARCXML:
return "MarcXchange (ISO25577)"
default:
panic("unreachable")
return "Unknown MARC format"
}
}

Expand Down

0 comments on commit 5b2d571

Please sign in to comment.