Re: [go-nuts] Re: Golang Github Package References

2022-12-05 Thread Mucas Schlack
Ok, The package code in question looks like this: - import ( "context" "encoding/json" "flag" "fmt" "io" "log" "net/http" "net/http/httputil" "net/url" "os" "time" "github.com/go-oauth2/oauth2/v4/generates" "github.com/go-oauth2/oauth2/v4/errors" "github.com/go-oauth2/oauth2/v4/manage" "github.com

[go-nuts] Golang Github Package References

2022-12-05 Thread Mucas Schlack
Hello Everyone, I would like to install a Golang Github package, but I do not want to keep referencing the installed package in the "imports" section of the code - for security reasons, and because I want my code to be able to run without those references. Does anyone know if there is a way to d

[go-nuts] Problems with array slicing reliability?

2022-11-23 Thread Mucas Schlack
Hello Golangers! Is there anyone who can test the reliability of the following Golang slice feature? I am using an AMG64 computer with Windows 10, and Go version 0.36.0. When I use the following code, to detect and then replace a character at any given length *n* (9) in a string with an Uppercas