File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -59,3 +59,4 @@ allowed:
59
59
- alpn
60
60
- SNI
61
61
- gwapi
62
+ - init
Original file line number Diff line number Diff line change
1
+ ____ _ _ _ _
2
+ / ___(_) |_| | __ _| |__
3
+ | | _| | __| |/ _` | '_ \
4
+ | |_| | | |_| | (_| | |_) |
5
+ \____|_|\__|_|\__,_|_.__/
6
+ ____ _ _ _ _ _
7
+ | _ \(_)_ __ ___| (_)_ __ ___ ___| |__ ___ ___| | __
8
+ | |_) | | '_ \ / _ \ | | '_ \ / _ \ / __| '_ \ / _ \/ __| |/ /
9
+ | __/| | |_) | __/ | | | | | __/ | (__| | | | __/ (__| <
10
+ |_| |_| .__/ \___|_|_|_| |_|\___| \___|_| |_|\___|\___|_|\_\
11
+ |_|
Original file line number Diff line number Diff line change
1
+ // Copyright 2019 HAProxy Technologies LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
1
14
package main
2
15
3
16
import (
17
+ _ "embed"
4
18
"encoding/json"
5
19
"fmt"
6
20
"io"
@@ -10,8 +24,12 @@ import (
10
24
"strings"
11
25
)
12
26
27
+ //go:embed ascii.txt
28
+ var hello string
29
+
13
30
//nolint:forbidigo
14
31
func main () {
32
+ fmt .Println (hello )
15
33
// Check if we are in a merge request context
16
34
mrIID := os .Getenv ("CI_MERGE_REQUEST_IID" )
17
35
if mrIID == "" {
You can’t perform that action at this time.
0 commit comments