Go decoration mode, a cock silk tube story

Source: Internet
Author: User

Directly on the code:

package mainimport  "FMT"//Now there is a cock silk, there is a method of the tube, we need to take off the pants before and after the tube to wear pants type diaosi struct {}func   (B *diaosi)  lualu ()  {    fmt. Println ("En... a.  a ... Oh god. FUCK&NBSP, .... ME.. ")} Type decorator struct {    *diaosi    lualu func () }func decorat (B *diaosi)   (d *decorator)  {    d = & Decorator{b, nil}    d.lualu = func ()  {         fmt. Println ("Take off trousers ...")         b.lualu ()          fmt. Println ("Take on trousers ...")     }        Return}func main ()  {    //hanging silk     b := & Diaosi{}    b.lualu ()      fmt. Println ("===========")     //hanging wire   pants---wear pants     c :=  decorat (b)     c.lualu ()     //job: cock wire Open the pants-- > How to turn off the pornography   how to achieve? }

Go decorating mode, a cock-and-tube story

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.