You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Thank you a lot for this package. It will be a great help to our Japanese full-text search function.
By the way, I encountered a problem as the title of this issue when I start to use this (latest version 812be11 ).
I only tried to autogen one struct as below:
// +smg
type ChatLog struct {
ApplicantID string `search:",string"`
Body string `search:",ngram"`
Created time.Time `search:",unixtime"`
}
I succeeded to avoid this for now by editing struct as below:
// +smg
type ChatLog struct {
ID int `search:",id"`
DSKeyJSON string `search:"-"`
ApplicantID string `search:",string"`
Body string `search:",ngram"`
Created time.Time `search:",rank"`
}
Hello,
Thank you a lot for this package. It will be a great help to our Japanese full-text search function.
By the way, I encountered a problem as the title of this issue when I start to use this (latest version 812be11 ).
I only tried to autogen one struct as below:
I checked into codes and this line seem to cause this.
https://github.com/favclip/smg/blob/master/generator.go#L82
thanks again
The text was updated successfully, but these errors were encountered: