-
```
FROM ubuntu:16.04
MAINTAINER morgan
WORKDIR /
RUN apt-get update -y
RUN apt-get install -y nginx git wget make gcc createrepo
RUN wget https://dl.google.com/go/go1.10.linux-amd64.tar.gz
…
-
Hi guys, I'd like to ask your opinion with regards to validation. Echo has a `Validator` interface and I tried implementing it and used a third party package called [validator](https://github.com/go-p…
adred updated
5 years ago
-
I have found insertAndReturnPK(...), but Insert() not returned this value. I need to get last inserted PK in threadsafe mode. Any ideas?
-
Dear Qian,
I am a yii1/yii2 user too, really like that elegant framework which created by you!
In these frameworks, it provide widgets which wrap bootstrap , it is very convenient to developers, e…
-
(MOTIVATION: ad hoc validation of structs using towers of `if` statements is lame!)
* [x] https://github.com/go-ozzo/ozzo-validation
* [Branch](https://github.com/frou/yt2pod/tree/config_go-oz…
-
I stumbled upon this when trying to validate a struct with uint32 field. The validation fails with
> Integer: cannot convert uint32 to int64.
Here's a complete test case:
```
package main
…
-
```
minAllowed := 1
return validation.Validate(0,
validation.Min(minAllowed),
validation.Max(maxAllowed),
)
```
I would expect an `error` from this, as 0 is less than the min value (1)…
-
Under MariaDB, I get a panic when using `uint64` as auto-incremented primary key field on Insert(). Reflect SetInt() expects a signed int. Since I'm not a postgres guy, I'm not sure about the global…
-
Do you have any idea when I got error "call of reflect.Value.Interface on zero Value" ?
-
Hi! I tryed to build my app with VGO and got a error:
![image](https://user-images.githubusercontent.com/3740898/40563789-c1d91c94-606e-11e8-88c3-4c95c9961149.png)
![image](https://user-images.githu…