Skip to content

Commit

Permalink
Merge pull request #49 from github/elr/go_playground
Browse files Browse the repository at this point in the history
Add Go Playground for testing spdx.Satisfies
  • Loading branch information
elrayle authored Jul 19, 2023
2 parents b5baa62 + 5539402 commit b48e4ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ to first check if all of the expressions from `allowedList` are valid.

#### Examples: Satisfies returns true

[Go Playground for Satisfies](https://go.dev/play/p/Ul8H15hyEpQ)

```go
Satisfies("MIT", []string{"MIT"})
Satisfies("MIT", []string{"MIT", "Apache-2.0"})
Expand Down

0 comments on commit b48e4ca

Please sign in to comment.