Re: [go-nuts] How to manage database schemas

2024-12-22 Thread Igor Cananea
There are a couple of good options for schema management in Go. Personally, I use goose with sqlc but you can use it with ORMs too. On Sun, Dec 22, 2024, 08:46 Bhavesh Kothari wrote: > Hello everyone, > I'm new to go and have to work on a project from scratch. > I looked into for various resour

Re: [go-nuts] go.sum security error

2021-08-16 Thread Igor Chubin
version may still be in your module cache. You can remove it > with `go clean -modcache` (though this will remove everything else there, > too). > > On Mon, Aug 16, 2021 at 9:19 AM Ian Lance Taylor wrote: > >> On Mon, Aug 16, 2021 at 9:11 AM Igor Chubin wrote: >> > &g

[go-nuts] How to install previous release of protobuf on windows?

2021-08-16 Thread Igor Gelin
How to install previous release of protobuf on windows? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this dis

[go-nuts] go.sum security error

2021-08-16 Thread Igor Chubin
When I generate `go.sum` with go 1.16, and try to build it with go of a different version (1.13 in my case), I get `SECURITY ERROR`: ``` verifying github.com/tredoe/osutil@v1.1.1/go.mod: checksum mismatch downloaded: h1:fx79htI3WZA9Ep4jphLFq06l3iRDimfOWTrkKOz+OAA= go.sum: h1:wHEjPMepmXQXkZhf9

Re: [go-nuts] Generics - please provide real life problems

2020-12-23 Thread Igor Cananea
While the example of ReverseSlice doesn't appear in my work experience, the concept of writing functions for slices independent of type is pretty common for me. Not having to copy to/from []someInterface or having to write (or go generate) multiple versions of the code differing only on the type w

[go-nuts] Re: Monorepo several binaries and build only some

2020-09-14 Thread Igor Ovsiannikov
Diego wrote: > Is there a way to know if a binary has to be rebuilt, due to changes to some of its dependencies? It maybe a bit an off topic, but if you have a mono repo and want to be able to specify internal dependencies as well and rebuild only what is necessary you may want to look into Baz

[go-nuts] What Go devs think about issues described by Daniel Lemire in article "The Go compiler needs to be smarter"?

2020-06-04 Thread Igor Yemelianov
Link to the article. The question is - is it possible that the issues described in the article can be solved in for example next major version? Thanks. -- You received this message because you are subscribed to the Goog

[go-nuts] Re: Problem with migration to the new "module" technology from "go"

2019-11-20 Thread Igor Maznitsa
in the case you should provide local path to your module through *module.package replace => local.path *in go.mod it makes some pain and stops independent work with project. To decrease the pain, I made some solution for maven which automatically work with

[go-nuts] Re: Compile Go application with multiple versions of C library

2019-10-15 Thread Igor Maznitsa
thats possible use preprocessing with golang too, but through some extra-tools, like maven-golang, example -- You received this message because you are subscribed to the Google Groups "golan

[go-nuts] Re: go module & local package

2019-10-15 Thread Igor Maznitsa
mvn-golang also allows make multi-module go projects with locally situated modules, but it works through maven -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubsc

[go-nuts] Re: Go module and local dependencies

2019-09-02 Thread Igor Maznitsa
maven golang plugin allows to process such cases automatically and organize mix from local parts of project and modules , but it needs knowledge of m

[go-nuts] Re: Repo with multiple modules and vendoring in main module: how to avoid constant re-vendoring?

2019-08-08 Thread Igor Maznitsa
I am not sure that it is possible just out of the box, some guys use my maven plugin to work with multiple module projects because it makes some business in the area and uses maven repository to share sources. -- You received this message because you are

[go-nuts] Maven Golang plugin 2.3.2 is released

2019-06-27 Thread Igor Maznitsa
Maven Golang plugin 2.3.2 is released in maven central. Mainly it is a maintenance release and default GoSDK is updated to 1.12.6. As improvement - its multi-module archetype is updated to support code sharing through maven repository. So if you need some

Re: [go-nuts] golang maven plug-in 2.2.0 has been published in maven central

2018-05-15 Thread Igor Maznitsa
already existing tools and approaches, but if anyone is rich enough to do that then it will be good and we will get many ways in development @Igor Mazintsa: don't be angry at us. Just go ecosystem is an absolute > opposite of java's, so many Gophers just can't imagine how ma

Re: [go-nuts] golang maven plug-in 2.2.0 has been published in maven central

2018-05-15 Thread Igor Maznitsa
*short note for developers who knows nothing about maven* 1. maven is a well-documented cross-platform mature tool with long history 2. maven is open-source and small one 3. maven is accessible in popular OS softw

Re: [go-nuts] golang maven plug-in 2.2.0 has been published in maven central

2018-05-14 Thread Igor Maznitsa
as usual - to make life easier On Tuesday, May 15, 2018 at 8:36:40 AM UTC+3, kortschak wrote: > > Why! > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golan

Re: [go-nuts] golang maven plug-in 2.2.0 has been published in maven central

2018-05-14 Thread Igor Maznitsa
as usual - to make lie easier On Tuesday, May 15, 2018 at 8:36:40 AM UTC+3, kortschak wrote: > > Why! > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golan

[go-nuts] golang maven plug-in 2.2.0 has been published in maven central

2018-05-13 Thread Igor Maznitsa
Hello All the 2.2.0 version of the maven golang plugin has been published in the maven central the main new feature - now the work with dependencies is much easier and they can be defined through external file (example

[go-nuts] Re: what is x.exe in golang 1.9.1 sdk for windows? antiviruses complain

2017-10-14 Thread Igor Maznitsa
I have created issue -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For mor

[go-nuts] what is x.exe in golang 1.9.1 sdk for windows? antiviruses complain

2017-10-14 Thread Igor Maznitsa
today a user of my golang plugin for maven reported that his AVG antivirus had detected some potential malware application *x.exe* inside automatically downloaded golang sdk for windows (it had been downloade

[go-nuts] Re: Go 1.9 is released

2017-09-26 Thread Igor Maznitsa
if you use mvn-golang plugin then since 2.1.6 version it can process missing SDK in the list and since 2.1.7 it will be processing the list correctly because google returns not full list for just request but need some prefix in request -- You received thi

Re: [go-nuts] Re: Go 1.9 is released

2017-08-25 Thread Igor Maznitsa
>>The package search [1] turns up this file is provided by libc6 (for arm64). exactly, I just have downloaded arm64 distributive instead of amd64 :) , amd64 works well, I made the error because https://storage.googleapis.com/golang/ doesn't contain 1.9 and I have to load it manually -- You r

[go-nuts] Re: Go 1.9 is released

2017-08-25 Thread Igor Maznitsa
and why the SDK is not presented in the list https://storage.googleapis.com/golang/ ? also under Ubuntu 16.04 LTS I have some error for any attempt to start Go 1.9 from downloaded SDK : */lib/ld-linux-aarch64.so.1: No such file or directory* I don't have any such error with the 1.8.3, is it nor

[go-nuts] Re: Go one-line installer

2017-08-02 Thread Igor Maznitsa
I also had interest for such installer about year ago and developed mvn-golang plugin (which can download and install go sdk and tune environment during build process) but it works in maven environment of course -- You received this message because you ar

[go-nuts] Re: How do you create and use shared libraries in Go?

2017-06-27 Thread Igor Maznitsa
Go also allows to produce plugins (DLL) which can be loaded dynamically, it also one of ways to share compiled libraries and if I want share some library on sources level between several modules and

[go-nuts] Re: What is your favorite Go feature?

2017-06-27 Thread Igor Maznitsa
I very love its possibility to produce a static linked executable file which can be just sent to customer without words "you should download special SDK with 150 Mb size to start my 2 Mb file" -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To

[go-nuts] Re: How to manage multiple versions of Go?

2017-06-26 Thread Igor Maznitsa
mvn-golang plugin also allows to automate work with multiple versions of Go -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email t

[go-nuts] humble file watcher

2017-05-16 Thread Igor Kim
Anyone here can do this... But if you really need a simple file watcher. $ watchfile index.html diff index.html index_old.html This command example will watch file index.html for changes. Once detected run a command diff index.html index_old.html. A command to run can be anything. Is it bareb

[go-nuts] Are there any plans for TLS 1.3?

2017-03-03 Thread igor
Or, is there any recommended early replacement? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit

Re: [go-nuts] Adding support for session ID-based TLS session reuse

2017-02-23 Thread Igor Gatis
What is the current status? Is session ID supported? I agree session ticket is the way to go. But it is useful for old TLS client implementations. I have 10k terminals which do HTTPS requests over gprs. TLS handshake alone costs ~4s. With ip-based server affinity and session ID support, latency

[go-nuts] Re: Struggling with working directory

2017-02-12 Thread Igor Maznitsa
also you can try build golang projects through mvn-golang (with the java maven tool) in the case you should play with environment much less -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe fr

[go-nuts] How to proper enable HTTP 2 on a Go client and server?

2017-01-01 Thread Igor Gatis
I have a Go 1.7.4 client which uses a custom HTTP transport to talk to my Go 1.7.4 server. How do I ensure both client and server are properly configured to use HTTP 2? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this grou

[go-nuts] HTTP client does not support Ticket-based TLS Resumption

2017-01-01 Thread Igor Gatis
According to https://www.howsmyssl.com/s/api.html my Go 1.7.4 HTTPS client does not support ticket-based TLS resumption. How do I fix that? Here is how I create the transport: func NewTransport(caCert []byte, disableCompression, skipCertCheck bool) *http.Transport { caCertPool := x509.NewCertPoo

[go-nuts] Re: TLS False Start?

2016-12-27 Thread Igor Gatis
Ping. I could not find any info on how to turn on TLS False Start support. Help. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegro

[go-nuts] Re: TLS False Start?

2016-11-07 Thread Igor Gatis
Say you have thousands of devices which you have control over. They all use GPRS (2G), with ~700ms of latency. TLS handshake may cost ~4s sometimes when mobile coverage is good and astonishing 20s when it is not or packet loss is high by any reason. False Start could make a huge difference. Ho

[go-nuts] ARM big-endian support roadmap

2016-07-12 Thread Igor Gatis
AFAIK, big endian support for ARM is not available. Will it ever be supported? Out of curiosity, how hard is this task? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an ema