add vendoring
This commit is contained in:
13
vendor/github.com/yuin/goldmark/util/util_safe.go
generated
vendored
Normal file
13
vendor/github.com/yuin/goldmark/util/util_safe.go
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// +build appengine js
|
||||
|
||||
package util
|
||||
|
||||
// BytesToReadOnlyString returns a string converted from given bytes.
|
||||
func BytesToReadOnlyString(b []byte) string {
|
||||
return string(b)
|
||||
}
|
||||
|
||||
// StringToReadOnlyBytes returns bytes converted from given string.
|
||||
func StringToReadOnlyBytes(s string) []byte {
|
||||
return []byte(s)
|
||||
}
|
||||
Reference in New Issue
Block a user