Jorge Mireles

Results 30 comments of Jorge Mireles

Like a [singleton pattern](https://en.wikipedia.org/wiki/Singleton_pattern)? Would be able to be shared among threads?

V has module [os](https://modules.vlang.io/os.html) for files, processes and signals. For instance, while go's `walk` function is in `fs` package, V's is in `os` module. Moving functions to another modules would...

This is a workaround thanks V's interfaces also define fields: ```v interface Person { identify int } struct Boy { identify int } struct Girl { identify int = 1...

Same problem with **encoding** tree item. Seems a problem for any folder with no doc descriptions.

I ran your code in linux with the same output. By googling I reach this [article]( https://medium.com/@mayank.joshi_83486/discord-fetch-discord-messages-using-discord-websockets-7db6a194890b) that shows how to connect using python. There is mentioned you need to...

One alternative is use a factory function `new_my_struct_bbb()` doing the mut internally and returning a never mut again object: ```v pub struct MyStruct { mut: aaa bool pub: bbb string...

The feature could be extended for interfaces implementations where *none* of a given method arguments are used. Since v doesn't permit method overloading no two methods have the same name...

Possible duplicated issue. See this: https://github.com/vlang/v/issues/23013

I couldn't find a finite circular buffer in `datatypes` so wrote a very simpler one, with only two methods push and peek: ```v pub struct Logger[T] { mut: content []T...

I don't know if is useful a channel in a single thread, but seems next complete `select` form mentioned in the docs, registers the whole history channel had: ```v fn...