Example #1
0
 def _create_go_config(options):
     go_config = runtime_config_pb2.GoConfig()
     if options.go_work_dir:
         go_config.work_dir = options.go_work_dir
     if options.enable_watching_go_path:
         go_config.enable_watching_go_path = True
     return go_config
Example #2
0
 def _create_go_config(options):
     go_config = runtime_config_pb2.GoConfig()
     if options.go_work_dir:
         go_config.work_dir = options.go_work_dir
     return go_config