#NEWLINE# def synthetic_target_dir( self , target , target_workdir ) : #NEWLINE# #INDENT# all_sources = list ( target . sources_relative_to_buildroot ( ) ) #NEWLINE# source = all_sources [ 0 ] #NEWLINE# namespace = self . _get_go_namespace ( source ) #NEWLINE# return os . path . join ( target_workdir , 'src' , 'go' , namespace . replace ( '.' , os . path . sep ) )