-
type Test struct {
ID int64
Name string
Address string
TT time.Time
Other interface{} `xorm:"json"`
Host net.IP `xorm:"TEXT"`
}
eng1.SetMapper(core.GonicMapper{})
eng1.Sync2(new(…
-
windows下运行提示xorm不是哪部或外部命令
-
hi, tagexpr is powerful but the examples use so many variables like `a` `b` `c` `d`, which is not meaningful.
I suggest using some true scenario of any kind, say: validate an amount, email, phonen…
-
数据库:
```
create table `user`(
`name` varchar(512) NOT NULL,
`login_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
)
```
#### 注意:login_time 是NOT NULL
model:
```
type User struct{
…
-
✘ ✝ ~/workspace/engineercms: master: go build main.go
go: finding github.com/beego/admin/src/lib latest
go: finding github.com/beego/admin/src latest
go: finding github.com/beego/admin latest
g…
-
What part of reform needs more documentation? Leave a comment.
Where will example help? Leave a comment.
Found a typo or grammar error? [You can fix it right on GitHub](https://help.github.com/artic…
-
I am trying to install
`go install github.com/go-xorm/dbweb`
but get this error
```
go/src/github.com/denisenkom/go-mssqldb/mssql_go19.go:14:2: cannot find package "cloud.google.com/go/ci…
-
I use go mod
go mod init
root@efd4d3d775f2:/home/workspace/src/test# cat go.mod
module test
go 1.13
require (
github.com/dgrijalva/jwt-go v3.2.0+incompatible
github.com/gi…
-
We have an open source serverless project: https://github.com/labring/laf
`laf` wants to integrate `casdoor` as its built-in auth solution without importing a second type of database, that could k…
-
go-sqlite3 supports easy definition of custom functions:
https://godoc.org/github.com/mattn/go-sqlite3#hdr-Go_SQlite3_Extensions
Currently cannot use the approach with xorm as:
```go
regex = fun…