tom twinkle

Results 10 issues of tom twinkle

Changed so that you can add a function that can be converted to any type. Can freely customize the type conversion by defining the function for TypeCopier by the user....

## Fixes Or Enhances Fixes detection of aliased time.Duration types ```go type CustomDuration time.Duration ``` **Make sure that you've checked the boxes below before you submit PR:** - [x] Tests...

fix issue https://github.com/mwitkow/go-proto-validators/issues/105

`len(string)` does not count by characters but by bytes, so if a multibyte string is specified for validation, it cannot be validated by characters. In order to accurately determine the...

# Changes - Add `tostring` option, and generate `ToString` interface. # Why I sometimes want to convert an int item specified by enum to a string, e.g. to specify RESTFull...

The current functionality of enumer realizes Marshal/Unmarshal of json, text, and yaml with conversion to `string representation`, but add an option to accommodate cases where it is desired to use...

I sometimes want to convert an int item specified by enum to a string, e.g. to specify RESTFullAPI request parameters, etc. It would be nice to have an option to...

Hi, I have a problem. If you use go-copy to copy a "struct embedding interface" like in the sample, an error will occur. ```go package main import ( "github.com/liguangsheng/go-copy" "log"...

The current latitude and longitude generation logic generates values with a maximum precision of 15 float places Example: - latitude `-13.170896530151367` - longitude `-128.38621520996094` This is larger than the actual...

### Version 1.27.0 ### What happened? The generated code is not what I expected. Originally, the part specified by `sqlc.arg()` was `?` but it is output as it is. ##...

bug
:books: mysql
:wrench: golang
:computer: darwin