Was `string.HasPrefix` depreciated in favor of `HasPrefix`?

The docs have listed HasPrefix as a function but the docs still have strings. in front of strings.HasSuffix.

The docs also use string.HasPrefix in the render hooks links example.

Is one usage preferable to the other? Is one being depreciated?

I realize this is a nitpick and could just be a documentation anomaly but I thought I’d clarify it with y’all.

hasPrefix is an alias to strings.HasPrefix. A similar alias for strings.HasSuffix was never created—I am not sure why.

I am unaware of any plans to deprecate any of these.

Whether you use hasPrefix or strings.HasPrefix is a personal choice. I prefer the non-aliased reference.

I suspect that hasPrefix was added before we got these namespaces.