Skip to content
This repository was archived by the owner on Nov 28, 2024. It is now read-only.

Add syntax highlighting to Go example #5

Merged
merged 1 commit into from
Dec 6, 2017
Merged

Add syntax highlighting to Go example #5

merged 1 commit into from
Dec 6, 2017

Conversation

ivy
Copy link

@ivy ivy commented Dec 6, 2017

This pull request adds syntax highlighting to the example in the readme:

package main

import (
        "crypto/tls"

        "github.com/go-mail/gomail"
)

func main() {
        d := gomail.NewDialer("smtp.example.com", 587, "user", "123456")
        d.TLSConfig = &tls.Config{InsecureSkipVerify: true}

        // Send emails using d.
}

From go-gomail#92, part of #1.

@pedromorgan
Copy link

@ivy Can you target master instead of v2

@ivy ivy changed the base branch from v2 to master December 6, 2017 21:05
@ivy
Copy link
Author

ivy commented Dec 6, 2017

@pedromorgan Fixed. You should be good to merge.

@pedromorgan pedromorgan merged commit 0fbc7e5 into go-mail:master Dec 6, 2017
diamondburned pushed a commit to diamondburned/gomail that referenced this pull request Aug 21, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants