mirror of
https://github.com/NohamR/papeer.git
synced 2026-05-25 12:27:20 +00:00
refacto progress bars, images option
This commit is contained in:
@@ -3,11 +3,10 @@ package book
|
||||
type link struct {
|
||||
href string
|
||||
text string
|
||||
class string
|
||||
}
|
||||
|
||||
func NewLink(href, text, class string) link {
|
||||
return link{href, text, class}
|
||||
func NewLink(href, text string) link {
|
||||
return link{href, text}
|
||||
}
|
||||
|
||||
func (c link) Href() string {
|
||||
@@ -17,7 +16,3 @@ func (c link) Href() string {
|
||||
func (c link) Text() string {
|
||||
return c.text
|
||||
}
|
||||
|
||||
func (c link) Class() string {
|
||||
return c.class
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user