Skip to content

Commit

Permalink
Adding godoc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ycombinator committed Apr 27, 2021
1 parent 1c6244f commit 50c5034
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion code/go/internal/validator/semantic/format_checkers.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,15 @@ import (
)

const (
RelativePathFormat = "relative-path"
// RelativePathFormat defines the ID of the relative path format checker. This format checker
// should be used when a field's value refers to a relative filesystem path. The checker will
// ensure that the location pointed to by that relative filesystem path actually exists on
// the filesystem, relative to the file in which the field is defined.
RelativePathFormat = "relative-path"

// DataStreamNameFormat defines the ID of the data stream name format checker. This format checker
// should be used when a field's value refers to a data stream name. The checker will ensure
// that a folder with that data stream name exists on the filesystem.
DataStreamNameFormat = "data-stream-name"
)

Expand Down

0 comments on commit 50c5034

Please sign in to comment.