Qiang Xue

Results 29 comments of Qiang Xue

How are you going to use the route? Does Route.URL() satisfy your need?

Thank you for your contribution! The functionality you propose to add is better to be done by a validation library, such as https://github.com/go-ozzo/ozzo-validation which not only can be used to...

Thank you for doing the detailed comparisons! Some clarifications: * struct fields don't need to be pointers in order to use the validation package. * the validation package allows you...

Thanks for the pointer. I just read the article and the code in the repo. I don't fully agree with some of its designs. * The package/directory layout: the code...

Good to hear that. Could you share what are useful and how you will use it?

For queries like this it's better to write plain SQL. Query builder is meant to simplify creating common queries.

Did you encounter any particular problem with the current ordering?

You should create a new slice type and implement the Scanner interface and/or Valuer interface.

你可以设置Logger.Formatter,使用自己写的Formatter来根据level选择性地显示callstack。