From 285eefb1f36e2298af30d8e3df63792204a5b85d Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 22 Feb 2024 20:51:28 +0200 Subject: restyle --- internal/generated/nqc.raku | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/internal/generated/nqc.raku b/internal/generated/nqc.raku index c30e926..5e1ae1f 100644 --- a/internal/generated/nqc.raku +++ b/internal/generated/nqc.raku @@ -29,9 +29,9 @@ class NQCToGoActions { method TOP($/) { make "// This file was generated - don't change manually!\n" - ~ "package types\n\n" - ~ self!constant-go-string-method ~ "\n" - ~ $.map(*.made).join(''); + ~ "package types\n\n" + ~ self!constant-go-string-method ~ "\n" + ~ $.map(*.made).join(''); } method construct($/) { @@ -47,8 +47,8 @@ class NQCToGoActions { my $const-type = $.ends-with('_OP_ID') ?? ' OpId' !! ''; make qq:to/END/; - const {$}$const-type = {$} - END + const {$}$const-type = {$} + END } method !constant-go-string-method returns Str { @@ -68,13 +68,13 @@ class NQCToGoActions { method struct($/) { make qq:to/END/; - type {$.made} struct \{ - {$.map(*.made).join('; ')} - \} - - {self!struct-go-string-method($/)} - {($.made.ends-with('Event') ?? "\n" ~ self!struct-go-sync-pool($/) !! '')} - END + type {$.made} struct \{ + {$.map(*.made).join('; ')} + \} + + {self!struct-go-string-method($/)} + {($.made.ends-with('Event') ?? "\n" ~ self!struct-go-sync-pool($/) !! '')} + END } # Generate String() method on the Go struct, for pretty printing. -- cgit v1.2.3