This should accomplish the same thing:

```go
str = strings.TrimLeft(str, "#/")
```