wrapping into a typedef?
typedef MyHandler struct {
GlobalThing string
}
func (h *MyHandler) handle(w http.ResponseWriter, r *http.Request) {
}
func main() {
h := MyHandler{}
http.HandleFunc("/", MyHandler.handle)
}
--
-- Aldrin Leal, / https://ingenieux.io/about/
On Mon, J
storing password, always go for salted approaches (thus bcrypt)
Also, bear in mind upx works like a charm on Go Binaries:
https://blog.filippo.io/shrink-your-go-binaries-with-this-one-weird-trick/
--
-- Aldrin Leal, / https://ingenieux.io/about/
On Mon, Apr 22, 2019 at 5:15 AM whitehexagon via
*privateKey))
2. Look into http.Request, under TLS.PeerCertificates array
--
-- Aldrin Leal, / https://ingenieux.io/about/
On Sun, Apr 21, 2019 at 7:09 AM Vasiliy Tolstov wrote:
> Hi, I'm try to find mutual tls example in go, but can't find simple
> example that uses crypt
Did you check their github repo?
https://github.com/thm/uinames
--
-- Aldrin Leal, / https://ingenieux.io/about/
On Tue, Jan 8, 2019 at 4:57 AM wrote:
> [image: Screen Shot 2019-01-08 at 4.57.27 PM.png]
>
> how to get data https://uinames.com/ Picture and name insert to
Goland has been supporting it for a while:
https://blog.jetbrains.com/go/2018/05/18/vgo-integration-support/
--
-- Aldrin Leal, / https://ingenieux.io/about/
On Sat, Aug 25, 2018 at 3:45 AM, nvcnvn wrote:
> Hi all,
> Do you know any IDE already support intellisense for a project
I don't know.
On Jun 15, 2017 12:29, "Tyler Compton" wrote:
> Why not just panic, though? And why the infinite loop, I wonder?
>
> On Thu, Jun 15, 2017 at 9:56 AM Aldrin Leal wrote:
>
>> Force a panic in case exit fails?
>>
>> --
>> -- Aldr
Force a panic in case exit fails?
--
-- Aldrin Leal, / http://about.me/aldrinleal
On Thu, Jun 15, 2017 at 4:54 AM, wrote:
> Hey,
>
> Learning golang at the moment and came across this at the end of func
> main() in proc.go in the golang source tree.
>
> exit(0)
> for {
&g
Can't you use type assertions?
https://tour.golang.org/methods/15
--
-- Aldrin Leal, / http://about.me/aldrinleal
On Wed, May 24, 2017 at 4:50 PM, Frank Schröder
wrote:
> This works but it is somewhat ugly ...
>
> // l is either a tls.listener or a TCPListener
> if
-code
--
-- Aldrin Leal, / http://about.me/aldrinleal
On Thu, May 18, 2017 at 11:19 PM, voidlogic wrote:
> As I mentioned before go-plugin uses RPC/IPC which is much slower than
> shared/dynamically linked libraries So if you didn't have a high
> performance use case, that would pr
what if go-plugin + docker? I think you could block networking altogether.
Wiring those two wouldn't be a problem if you use things such as
go-dockerclient
--
-- Aldrin Leal, / http://about.me/aldrinleal
On Wed, May 17, 2017 at 11:55 PM, voidlogic wrote:
> For some use cases I am s
go-plugin wouldn't work?
github.com/hashicorp/go-plugin
--
-- Aldrin Leal, / http://about.me/aldrinleal
On Wed, May 17, 2017 at 7:05 PM, voidlogic wrote:
> Hey Everyone,
>
> I'm working on a project to allow other teams within my company to submit
> plugins that are
it
works for me :)
Source is available, in case you want to run your own.
https://github.com/ingenieux/codecommit-package-server/
Hope it helps.
--
-- Aldrin Leal, / http://about.me/aldrinleal
--
You received this message because you are subscribed to the Google Groups
"golang-nuts&quo
I believe this sums it up pretty well:
http://stackoverflow.com/questions/17609732/expand-tilde-to-home-directory
--
-- Aldrin Leal, / http://about.me/aldrinleal
On Wed, Dec 28, 2016 at 10:22 AM, Aurélien Desbrières <
aurelien.desbrie...@gmail.com> wrote:
> As explain ~/ in gola
?
--
-- Aldrin Leal, / http://about.me/aldrinleal
On Fri, Oct 28, 2016 at 5:11 PM, Henrik Johansson
wrote:
> This is however not the whole truth.
> Further down it states:
>
> "The Working Group will reach a decision as to how to act. These may
> include:
> Nothing.
> A reque
Regardless, I wonder what would be the action taken if it were more than a
"warning".
Would the CoC people issue a "SP" declaration? An Index Comunitum
Prohibitorum?
--
-- Aldrin Leal, / http://about.me/aldrinleal
On Fri, Oct 28, 2016 at 4:13 PM, Jaana Burcu Dogan wrote:
Just wondering:
Which OpenWRT-based hardware you'd pick? My idea would be to write a few
middleware code for an existing router platform. Most OpenWRT are based on
MIPS SoCs, so this is a problem and ARM would be preferred. Plus, space is
a concern as well
Any ideas?
Thank you
--
-- A
16 matches
Mail list logo