~bradclawsie/Lang-Go-Mod

5a2b063ac40dcbc4c57f650be92f3857d5ed5439 — Brad Clawsie 2 years ago b425b1a + 082d45e
Merge pull request #1 from benkasminbullock/master

Process comments
1 files changed, 5 insertions(+), 0 deletions(-)

M lib/Lang/Go/Mod.pm
M lib/Lang/Go/Mod.pm => lib/Lang/Go/Mod.pm +5 -0
@@ 121,6 121,11 @@ sub parse_go_mod {
              if ( defined $m->{'require'}->{$1} );
            $m->{'require'}->{$1} = $2;
        }
	elsif ( $line =~ m!^\s*//.*$! ) {

	    # comment

	}
        else {
            croak "unknown line content: $line";
        }