[go-nuts] Re: What is the idiomatic way to create dynamic clients for Firestore in Go

2023-12-27 Thread Alex Breadman
There is no clear way to specify a database On Thursday, December 28, 2023 at 4:51:02 AM UTC Alex Breadman wrote: > I want multi-tenancy but there is no clear documentation. > > Is it supported yet in the firebase/firestore packages yet? > > Thanks > -- You received this m

[go-nuts] What is the idiomatic way to create dynamic clients for Firestore in Go

2023-12-27 Thread Alex Breadman
I want multi-tenancy but there is no clear documentation. Is it supported yet in the firebase/firestore packages yet? Thanks -- 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

[go-nuts] Is this algorithm viable? its faster than AES256 upto 50KB

2022-08-02 Thread Alex Breadman
package mod import ( "testing" ) func TestEncrypt(t *testing.T) { password := []byte("*RTFUGIHOD") data := []byte("This encryption algorithm is faster than aes256 up to 40kb but how secure is it?") for x, _ := range data { p := (password[x%len(password)]) data[x] = data[x] + byte(p) }

Re: [go-nuts] Thanks

2021-03-24 Thread alex breadman
Let's keep divisive political BS away from this lovely project. Glad to see the political header removed from the website, at least on mobile. All lives matter. On Wed, 24 Mar 2021, 8:41 pm Chris Burkert, wrote: > Several messages during the last weeks irritated me and I guess I was not > the

Re: [go-nuts] Re: Command line tool to modify YAML files

2020-11-02 Thread alex breadman
ich I have no time >> for. >> > > You're going to be limiting your tooling options quite a bit in that case > :) > > On Mon, Nov 2, 2020 at 8:49 AM alex breadman wrote: > >> Thanks for the reply. >> >> I just did it for fun actually, and for the pur

Re: [go-nuts] Re: Command line tool to modify YAML files

2020-11-02 Thread alex breadman
Thanks for the reply. I just did it for fun actually, and for the purpose of learning to make GitHub actions. I saw yq but it seemed like it was written in python, which I have no time for. The dasel one looks the best imo. On Mon, 2 Nov 2020, 4:41 pm Howard C. Shaw III, wrote: > If

[go-nuts] Command line tool to modify YAML files

2020-10-29 Thread Alex Breadman
Hi everyone, I needed a tool today to insert or overwrite top-level values in a YAML file so that my CI pipeline can be cleaner and less complicated. So I made a Go cmd tool called: https://github.com/golangdaddy/yamlfukr I hope someone finds this useful! I will be making a Github Action once

[go-nuts] HTTP2 package suddenly breaking all builds

2016-09-30 Thread alex . breadman
All my packages are unable to build because of this error /home/alex/go/src/golang.org/x/net/http2/transport.go:1853: ctx.Done undefined (type contextContext is interface with no methods) /home/alex/go/src/golang.org/x/net/http2/transport.go:1854: ctx.Err undefined (type contextContext is

[go-nuts] Re: html/template function not defined

2016-07-30 Thread alex . breadman
Since, I have made 2 more float-to-int functions and they work fine. To solve this I'm having to pre-marshal my json before I execute the template. Please if anyone knows why it doesn't like JSON encoding functions in the templates, let me know On Saturday, July 30, 2016 at 4:32:12 AM

[go-nuts] html/template function not defined

2016-07-29 Thread alex . breadman
func encodeJSON(data interface{}) template.JS { a, err := json.Marshal(data) if err != nil { panic(err) } return template.JS(a) } // code for rendering ELEMENT func (ele *ELEMENT) Render() ([]byte, error) { // init map of functions available to use within delimiters if funcMap == nil {