Brian Leishman

Results 26 comments of Brian Leishman

`excluded_with` does what you're looking for ```go var req struct { PhoneNumber string `validate:"excluded_with=Email"` Email string `validate:"excluded_with=PhoneNumber"` } ```

Is this being used with JSON binding? From testing it seems that your example should work no problem. `time.Time` values are well supported and [some built-in validate functions even support...

`datetime` validation on a `time.Time` type wouldn't do anything, since the type is already a time type. `datetime` validation is to check that a string is a valid date/time string....

Ubuntu 20.04, stock Gnome, this happens to me as well. Workaround does not work. I have to switch to a different terminal via Ctrl+Alt+F4, kill easytune, and Ctrl+Alt+F2 back. Any...

Whatever way I installed easyeffects placed them into this folder `~/.var/app/com.github.wwmm.easyeffects/config/easyeffects/irs`

I also tried the comment here about setting a path in the tsconfig.json to point directly to the custom type https://github.com/microsoft/TypeScript/issues/22217#issuecomment-751904666 ```json "paths": { "heap": ["ts/webcore/@types/heap"], } ``` And then...

Almost mediately sure this isn't an issue with this repo, because `tsc` gives me this output ```js "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tinymce_1 = require("tinymce/tinymce"); tinymce_1.default.init({...

Interesting... If I basically pull the bottom of tinymce.d.ts out and move it into my own file like this ```ts import {TinyMCE} from 'tinymce/tinymce' declare const tinymce: TinyMCE tinymce.init({ selector:...

I think I see more of what's happening. It seems for things that are imported from the `@types` directory, they just get replaced with their name when compiled. But when...

Actually that was wrong as well, `axios` has a `@types/axios` package but it still compiles to `axios.default`, so it doesn't get stuck like `flatpickr` does. But even though `flatpickr` has...