feat: project setup
This commit is contained in:
8
models/book/functions.go
Normal file
8
models/book/functions.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package book
|
||||
|
||||
import "fmt"
|
||||
|
||||
// String helper method to convert dialogue struct into a string
|
||||
func (d *Dialogue) String() string {
|
||||
return fmt.Sprintf("%s", d.Content)
|
||||
}
|
||||
Reference in New Issue
Block a user