• Blake Mizerany's avatar
    server/internal/internal/names: validate names (#9400) · cda6f5c6
    Blake Mizerany authored
    This commit is a step towards a goal to make names less ceremonial
    outside of the registry client. Clients of the registry package can
    treat names as opaque strings, and the registry package will handle
    parsing, validating, and normalizing names.
    
    Ideally we end up with the names package tucked away in an internal
    package for good. We'll see how things go.
    
    Also, this package name is not permanent. This another step in the
    on-going process of refactoring the server code, and at some point it
    will most likely be renamed/moved.
    cda6f5c6
server_test.go 4.33 KB