Skip to content

Commit

Permalink
Had to downgrade because of 1.21 bug golang/go#61605
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffpignataro committed Sep 3, 2023
1 parent 5db2550 commit f593239
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 1,600 deletions.
1,310 changes: 4 additions & 1,306 deletions WORKSPACE

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions cmd/cli-demo/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ go_library(
tags = ["excluded"],
visibility = ["//visibility:private"],
deps = [
"@com_github_jeffpignataro_golang_pkg_do_a_thing_v2//:do-a-thing",
"@com_github_jeffpignataro_golang_pkg_do_a_thing_v3//:do-a-thing",
"@com_github_jeffpignataro_golang_pkg_do_a_thing//:go_default_library",
"@com_github_jeffpignataro_golang_pkg_do_a_thing_v2//:go_default_library",
"@com_github_jeffpignataro_golang_pkg_do_a_thing_v3//:go_default_library",
"@com_github_sirupsen_logrus//:logrus",
"@com_github_urfave_cli_v2//:cli",
],
Expand Down
2 changes: 1 addition & 1 deletion cmd/hello-world-lamba/src/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ replace gopkg.in/yaml.v2 => gopkg.in/yaml.v2 v2.2.8

module hello-world

go 1.21
go 1.20
1 change: 1 addition & 0 deletions cmd/hello-world/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ go_library(
srcs = ["main.go"],
importpath = "golang/cmd/hello-world",
visibility = ["//visibility:private"],
deps = ["@com_github_jeffpignataro_golang_pkg_hello_world//:go_default_library"],
)

go_binary(
Expand Down
4 changes: 3 additions & 1 deletion cmd/hello-world/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ package main

import (
"fmt"

helloworld "github.com/jeffpignataro/golang/pkg/hello-world"
)

func main() {
fmt.Println("Hello World")
fmt.Print(helloworld.Hello())
}
Loading

0 comments on commit f593239

Please sign in to comment.