resource: Make resource counters for name and title independent
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 29 Jan 2018 09:44:09 +0000 (10:44 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 29 Jan 2018 09:44:09 +0000 (10:44 +0100)
commitdf20b05463fef42aba93d5208e410a7ecc56da5d
treeea09dcb297175ffd2d8c5d93174b9f9a91d8c27c
parent863a812e07193541b42732b0e227f3d320433f01
resource: Make resource counters for name and title independent

This is the most flexible with the current syntax, and probably what most people would expcect.

Updates #4335
resource/resource.go
resource/resource_test.go