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
est, 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 crypto/tls. I need server that for some http handler fo
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" <xavi...@gmail.com> wrote:
> Why not just panic, though? And why the infinite loop, I wonder?
>
> On Thu, Jun 15, 2017 at 9:56 AM Aldrin Leal <ald...@leal.eng.br> wrote:
>
>> Force a panic in case exit
Force a panic in case exit fails?
--
-- Aldrin Leal, <ald...@leal.eng.br> / http://about.me/aldrinleal
On Thu, Jun 15, 2017 at 4:54 AM, <goodwin.law...@gmail.com> wrote:
> Hey,
>
> Learning golang at the moment and came across this at the end of func
> main() in proc
Can't you use type assertions?
https://tour.golang.org/methods/15
--
-- Aldrin Leal, <ald...@leal.eng.br> / http://about.me/aldrinleal
On Wed, May 24, 2017 at 4:50 PM, Frank Schröder <frank.schroe...@gmail.com>
wrote:
> This works but it is somewhat ugly ...
>
> // l is
--
-- Aldrin Leal, <ald...@leal.eng.br> / http://about.me/aldrinleal
On Thu, May 18, 2017 at 11:19 PM, voidlogic <voidlog...@gmail.com> 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
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, <ald...@leal.eng.br> / http://about.me/aldrinleal
On Wed, May 17, 2017 at 11:55 PM, voidlogic <voidlog...@
go-plugin wouldn't work?
github.com/hashicorp/go-plugin
--
-- Aldrin Leal, <ald...@leal.eng.br> / http://about.me/aldrinleal
On Wed, May 17, 2017 at 7:05 PM, voidlogic <voidlog...@gmail.com> wrote:
> Hey Everyone,
>
> I'm working on a project to allow other teams within
ks 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, <ald...@leal.eng.br> / http://about.me/aldrinleal
--
You received this message because you are subscribed to the Google G
I believe this sums it up pretty well:
http://stackoverflow.com/questions/17609732/expand-tilde-to-home-directory
--
-- Aldrin Leal, <ald...@leal.eng.br> / http://about.me/aldrinleal
On Wed, Dec 28, 2016 at 10:22 AM, Aurélien Desbrières <
aurelien.desbrie...@gmail.com> 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
--
-- Aldrin
14 matches
Mail list logo