Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Borja Lorente committed Mar 19, 2024
1 parent 60c5ee5 commit e9dd859
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions WORKSPACE.bzlmod
Original file line number Diff line number Diff line change
Expand Up @@ -773,6 +773,8 @@ http_archive(

load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")

# gRPC is used to generate Go from proto in the aspect tests, in
# //aspect/testing/tests/src/com/google/idea/blaze/aspect/go/...
go_repository(
name = "org_golang_google_grpc",
build_file_proto_mode = "disable",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2017 The Bazel Authors. All rights reserved.
* Copyright 2024 The Bazel Authors. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion examples/go/with_proto/proto/translators.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import (
)

// Time translation functions.

// If all symbols resolve correctly (i.e. there are no red squigglies after a sync)
// then this target is working.
func ToProtoTime(t time.Time) Time {
return Time{Value: t.Format(time.RFC3339Nano)}
}

0 comments on commit e9dd859

Please sign in to comment.