I'm going to want to handle URL's with no trailing suffix (e.g. foo.com/ or 
just foo.com) as well as URL's with a suffix (foo.com/plugh). I don't want 
to register a function for every possible URL suffix - I want to have two 
functions: one for the URL with no trailing suffix and once for any URL 
with a suffix.

How do I supply a pattern to HandleFunc that will differentiate between the 
two? The Docs say that a pattern of '/' will match anything, So, that's not 
quite what I want.

Thanks.

Joe

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/f20800d5-4f5e-4913-ae5c-1dffbe0b252cn%40googlegroups.com.

Reply via email to