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
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 written
python, which 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,
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
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 {
funcMap
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 UTC+2,
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 inter
package mod
import (
"testing"
)
func TestEncrypt(t *testing.T) {
password := []byte("*RTFUGIHOD&TUGGIYKl")
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)
}
p
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
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
10 matches
Mail list logo