Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
Po-Yao Chen committed Nov 8, 2024
1 parent 1343e9b commit 5a13b5e
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 3 deletions.
8 changes: 8 additions & 0 deletions Contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ Please follow [best practices](https://github.com/trein/dev-best-practices/wiki/

When your code is ready to be submitted, you can [submit a pull request](https://help.github.com/articles/creating-a-pull-request/) to begin the code review process.

#### Add license

Please use license headers in all code files. You can apply the `./license_header` template by utilizing [addlicense](https://github.com/google/addlicense).

```sh
addlicense -f ./license_header ./
```

#### Generate Go Code

If your work requires re-generating the code (e.g. mock), please run `./gen.sh` at the project root.
2 changes: 1 addition & 1 deletion utils/cert_reload.go → certreload/cert_reload.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2024 Yahoo Inc.
// Licensed under the terms of the Apache License 2.0. Please see LICENSE file in project root for terms.

package utils
package certreload

import (
"bytes"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2024 Yahoo Inc.
// Licensed under the terms of the Apache License 2.0. Please see LICENSE file in project root for terms.

package utils
package certreload

import (
"crypto/tls"
Expand Down
2 changes: 1 addition & 1 deletion utils/generate_test.go → certreload/generate_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright 2022 Yahoo Inc.
// Licensed under the terms of the Apache License 2.0. Please see LICENSE file in project root for terms.

package utils
package certreload

//go:generate certstrap init --passphrase "" --common-name "ca" --years 80
//go:generate certstrap request-cert --passphrase "" --common-name client
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions license_comment → license_header
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# lice

Copyright 2024 Yahoo Inc.
Licensed under the terms of the Apache License 2.0. Please see LICENSE file in project root for terms.

0 comments on commit 5a13b5e

Please sign in to comment.