title: Func pipe in go Language
body: <p>is it possible to create function pipelines in go language, where output of one function is directly conventionality into input of another function. </p>
  
  <p>Please discuss it in the comments if it's not clear and you need more info. </p>
  
  <p>Other functional languages provide some constructs, for instance it's <code>then</code> in javascript with <code>promises</code>, in java they use <code>andThen</code> with <code>lambdas</code>, and with <code>c#</code> it's <code>FunctionExtensions</code>. Shell programs like unix also provides buitin method called pipes <code>|</code></p>
  
  <pre><code>func processA(test TestObj) {
      // do something
      return test
  }
  
  func process B(test TestObj) {
      //do something
      return test
  }
  
  func processC(test TestObj) {
      //do something
      return test
  }
  </code></pre>
  
  <p>so can we do something similar like</p>
  
  <pre><code>var obj = TestObj{}
  
  processA(obj)
     .then(processB)
      .then(processC)
  </code></pre>
  
  <p>jim, the second example uses the channels? can you please provide a code example using my code.</p>