Merge pull request #1296 from dunglas/patch-1
Docs: add a missing backtick
This commit is contained in:
commit
feb98d78fb
@ -86,7 +86,7 @@ type User struct {
|
|||||||
```go
|
```go
|
||||||
type User struct {} // default table name is `users`
|
type User struct {} // default table name is `users`
|
||||||
|
|
||||||
// set User's table name to be `profiles
|
// set User's table name to be `profiles`
|
||||||
func (User) TableName() string {
|
func (User) TableName() string {
|
||||||
return "profiles"
|
return "profiles"
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user