Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add header for auto-generated go files by gox #369

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

CarlJi
Copy link
Member

@CarlJi CarlJi commented Feb 8, 2024

Effect:

101-Hello-world git:(main) ✗ cat gop_autogen.go
// Code generated by gox; DO NOT EDIT.

package main

import "fmt"

const _ = true
//line 101-Hello-world/hello-1.gop:5
func main() {
//line 101-Hello-world/hello-1.gop:5:1
	fmt.Println("Hello world")
}

The predefined generated header mainly refer to go generate .

Copy link

codecov bot commented Feb 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (78a7a4c) 95.75% compared to head (8b6afad) 95.76%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #369   +/-   ##
=======================================
  Coverage   95.75%   95.76%           
=======================================
  Files          15       15           
  Lines        5918     5920    +2     
=======================================
+ Hits         5667     5669    +2     
  Misses        192      192           
  Partials       59       59           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@xushiwei xushiwei merged commit d683e9c into goplus:main Feb 8, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants